Sha256: 0c605eb8814493220928b4559a83354c8cc73b5f4c4728ec609ff0699c40c813

Contents?: true

Size: 352 Bytes

Versions: 6

Compression:

Stored size: 352 Bytes

Contents

module CurationConcerns
  class FileSetSearchBuilder < Hydra::SearchBuilder
    include CurationConcerns::SingleResult
    self.default_processor_chain += [:only_file_sets]

    def only_file_sets(solr_parameters)
      solr_parameters[:fq] << ActiveFedora::SolrQueryBuilder.construct_query_for_rel(has_model: ::FileSet.to_class_uri)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
curation_concerns-0.11.0.rc1 app/search_builders/curation_concerns/file_set_search_builder.rb
curation_concerns-0.10.0 app/search_builders/curation_concerns/file_set_search_builder.rb
curation_concerns-0.9.0 app/search_builders/curation_concerns/file_set_search_builder.rb
curation_concerns-0.8.0 app/search_builders/curation_concerns/file_set_search_builder.rb
curation_concerns-0.7.0 app/search_builders/curation_concerns/file_set_search_builder.rb
curation_concerns-0.6.0 app/search_builders/curation_concerns/file_set_search_builder.rb