Class: CurationConcerns::DeactivatedEmbargoSearchBuilder
- Inherits:
-
EmbargoSearchBuilder
- Object
- Blacklight::SearchBuilder
- EmbargoSearchBuilder
- CurationConcerns::DeactivatedEmbargoSearchBuilder
- Defined in:
- app/search_builders/curation_concerns/deactivated_embargo_search_builder.rb
Instance Method Summary collapse
Methods inherited from EmbargoSearchBuilder
#only_active_embargoes, #with_pagination, #with_sorting
Instance Method Details
#with_deactivated_embargos(solr_params) ⇒ Object
5 6 7 8 |
# File 'app/search_builders/curation_concerns/deactivated_embargo_search_builder.rb', line 5 def (solr_params) solr_params[:fq] ||= [] solr_params[:fq] = 'embargo_history_ssim:*' end |