Sha256: e7c8d96d799e169155f893cfc17cfde481ff38f7991e2a203903d160b8aeaaad

Contents?: true

Size: 297 Bytes

Versions: 40

Compression:

Stored size: 297 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] << "_query_:\"{!field f=id}#{blacklight_params.fetch(:id)}\""
    end
  end
end

Version data entries

40 entries across 40 versions & 1 rubygems

Version Path
curation_concerns-1.5.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.4.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.3.3 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.3.2 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.3.1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.3.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.2.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.1.2 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.1.1 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.1.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta10 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta9 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta8 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta7 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta6 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta5 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta4 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta3 app/search_builders/curation_concerns/single_result.rb
curation_concerns-1.0.0.beta2 app/search_builders/curation_concerns/single_result.rb