Sha256: f3041eab65c4e08ae2f6ff99735e6c037627d193e92e0d1a378d12727226bc53

Contents?: true

Size: 555 Bytes

Versions: 54

Compression:

Stored size: 555 Bytes

Contents

# frozen_string_literal: true
class SearchBuilder < Blacklight::SearchBuilder
  include Blacklight::Solr::SearchBuilderBehavior
  # Add a filter query to restrict the search to documents the current user has access to
  include Hydra::AccessControlsEnforcement
  include Hyrax::SearchFilters


  ##
  # @example Adding a new step to the processor chain
  #   self.default_processor_chain += [:add_custom_data_to_query]
  #
  #   def add_custom_data_to_query(solr_parameters)
  #     solr_parameters[:custom] = blacklight_params[:user_value]
  #   end
end

Version data entries

54 entries across 44 versions & 2 rubygems

Version Path
hyrax-5.0.1 .koppie/app/models/search_builder.rb
hyrax-5.0.1 .dassie/app/models/search_builder.rb
hyrax-5.0.0 .koppie/app/models/search_builder.rb
hyrax-5.0.0 .dassie/app/models/search_builder.rb
hyrax-5.0.0.rc3 .dassie/app/models/search_builder.rb
hyrax-5.0.0.rc3 .koppie/app/models/search_builder.rb
hyrax-5.0.0.rc2 .koppie/app/models/search_builder.rb
hyrax-5.0.0.rc2 .dassie/app/models/search_builder.rb
hyrax-5.0.0.rc1 .koppie/app/models/search_builder.rb
hyrax-5.0.0.rc1 .dassie/app/models/search_builder.rb
hyrax-3.6.0 .dassie/app/models/search_builder.rb
hyrax-4.0.0 .koppie/app/models/search_builder.rb
hyrax-4.0.0 .dassie/app/models/search_builder.rb
hyrax-4.0.0.rc3 .dassie/app/models/search_builder.rb
hyrax-4.0.0.rc3 .koppie/app/models/search_builder.rb
hyrax-4.0.0.rc2 .dassie/app/models/search_builder.rb
hyrax-4.0.0.rc2 .koppie/app/models/search_builder.rb
hyrax-4.0.0.rc1 .koppie/app/models/search_builder.rb
hyrax-4.0.0.rc1 .dassie/app/models/search_builder.rb
hyrax-3.5.0 .dassie/app/models/search_builder.rb