Sha256: e79726ca957d5541598dc6826c951457fcb89297bab9bcee8d29acd541d188f3

Contents?: true

Size: 287 Bytes

Versions: 58

Compression:

Stored size: 287 Bytes

Contents

module Hyrax
  class DeactivatedEmbargoSearchBuilder < EmbargoSearchBuilder
    self.default_processor_chain += [:with_deactivated_embargos]

    def with_deactivated_embargos(solr_params)
      solr_params[:fq] ||= []
      solr_params[:fq] = 'embargo_history_ssim:*'
    end
  end
end

Version data entries

58 entries across 58 versions & 2 rubygems

Version Path
hyrax-2.3.3 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.3.2 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.3.1 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-1.1.1 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.3.0 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.0.3 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.2.4 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.2.3 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.2.2 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.2.1 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.2.0 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.rc4 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.rc3 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.rc2 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.rc1 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-1.1.0 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.beta2 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.0.2 app/search_builders/hyrax/deactivated_embargo_search_builder.rb
hyrax-2.1.0.beta1 app/search_builders/hyrax/deactivated_embargo_search_builder.rb