Module: Hydra::Controller::SearchBuilder
- Extended by:
- ActiveSupport::Concern
- Included in:
- Hydra::Catalog
- Defined in:
- app/controllers/concerns/hydra/controller/search_builder.rb
Instance Method Summary collapse
-
#search_builder(processor_chain = search_params_logic) ⇒ Object
Override blacklight to produce a search_builder that has the current collection in context.
Instance Method Details
#search_builder(processor_chain = search_params_logic) ⇒ Object
Override blacklight to produce a search_builder that has the current collection in context
5 6 7 |
# File 'app/controllers/concerns/hydra/controller/search_builder.rb', line 5 def search_builder processor_chain = search_params_logic super.tap { |builder| builder.current_ability = current_ability } end |