Sha256: df1667e6ffce38eeb76f85110c4cf1edf7353a2137e486cab862308d096211e2

Contents?: true

Size: 283 Bytes

Versions: 17

Compression:

Stored size: 283 Bytes

Contents

module CurationConcerns
  module SingleResult
    extend ActiveSupport::Concern

    included do
      self.default_processor_chain += [:find_one]
    end

    def find_one(solr_parameters)
      solr_parameters[:fq] << "{!raw f=id}#{blacklight_params.fetch(:id)}"
    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
curation_concerns-1.7.8 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.7 app/search_builders/curation_concerns/single_result.rb
curation_concerns-2.0.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-2.0.0.rc2 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.6 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.5 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.4 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.3 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.2 app/search_builders/curation_concerns/single_result.rb
curation_concerns-2.0.0.rc1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.7.0.beta1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.6.3 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.6.2 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.6.1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.6.0 app/search_builders/curation_concerns/single_result.rb