Class: Bulkrax::ParserExportRecordSet::Collection
- Inherits:
-
Base
- Object
- Base
- Bulkrax::ParserExportRecordSet::Collection
show all
- Defined in:
- app/parsers/bulkrax/parser_export_record_set.rb
Instance Method Summary
collapse
Methods inherited from Base
#count, #each, #initialize
Instance Method Details
#collections_query ⇒ Object
192
193
194
195
|
# File 'app/parsers/bulkrax/parser_export_record_set.rb', line 192
def collections_query
"(id:#{importerexporter.export_source} #{extra_filters}) OR " \
"(has_model_ssim:Collection AND member_of_collection_ids_ssim:#{importerexporter.export_source})"
end
|
#works_query ⇒ Object
187
188
189
190
|
# File 'app/parsers/bulkrax/parser_export_record_set.rb', line 187
def works_query
"member_of_collection_ids_ssim:#{importerexporter.export_source} #{extra_filters} AND " \
"has_model_ssim:(#{Bulkrax.curation_concerns.join(' OR ')})"
end
|