Sha256: 94fa32be10b03f596f008465731d5bfb1be41e8105bc9a636b0909a187c11879

Contents?: true

Size: 308 Bytes

Versions: 8

Compression:

Stored size: 308 Bytes

Contents

module Hydra::Controller::SearchBuilder
  extend ActiveSupport::Concern

  # Override blacklight to produce a search_builder that has the current collection in context
  def search_builder processor_chain = search_params_logic
    super.tap { |builder| builder.current_ability = current_ability }
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
hydra-core-9.3.0 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.2.2 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.2.1 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.2.0 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.2.0.rc1 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.1.4 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.1.3 app/controllers/concerns/hydra/controller/search_builder.rb
hydra-core-9.1.2 app/controllers/concerns/hydra/controller/search_builder.rb