Sha256: 00620dca6a12c99d4e7fc51d48a2e4a7bb06317bf6fff2d4735faa77341d6d13
Contents?: true
Size: 352 Bytes
Versions: 66
Compression:
Stored size: 352 Bytes
Contents
module CurationConcerns # Finds embargoed objects with release dates in the past class ExpiredLeaseSearchBuilder < LeaseSearchBuilder self.default_processor_chain += [:only_expired_leases] def only_expired_leases(solr_params) solr_params[:fq] ||= [] solr_params[:fq] = 'lease_expiration_date_dtsi:[* TO NOW]' end end end
Version data entries
66 entries across 66 versions & 1 rubygems