Module: Hyrax::SingleResult

Extended by:
ActiveSupport::Concern
Included in:
FileSetSearchBuilder, SingleAdminSetSearchBuilder, SingleCollectionSearchBuilder, SingleUseLinkSearchBuilder, WorkSearchBuilder
Defined in:
app/search_builders/hyrax/single_result.rb

Instance Method Summary collapse

Instance Method Details

#find_one(solr_parameters) ⇒ Object



10
11
12
# File 'app/search_builders/hyrax/single_result.rb', line 10

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