Class: CurationConcerns::CollectionMemberSearchBuilder
- Inherits:
-
SearchBuilder
- Object
- SearchBuilder
- CurationConcerns::CollectionMemberSearchBuilder
- Includes:
- FilterByType
- Defined in:
- app/search_builders/curation_concerns/collection_member_search_builder.rb
Instance Method Summary collapse
-
#member_of_collection(solr_parameters) ⇒ Object
include filters into the query to only include the collection memebers.
Methods included from FilterByType
Instance Method Details
#member_of_collection(solr_parameters) ⇒ Object
include filters into the query to only include the collection memebers
14 15 16 17 |
# File 'app/search_builders/curation_concerns/collection_member_search_builder.rb', line 14 def member_of_collection(solr_parameters) solr_parameters[:fq] ||= [] solr_parameters[:fq] << "#{collection_membership_field}:#{collection.id}" end |