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



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

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