Module: ActiveFedora::Querying
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.extended(base) ⇒ Object
6 7 8 9 |
# File 'lib/active_fedora/querying.rb', line 6 def self.extended(base) base.class_attribute :solr_query_handler base.solr_query_handler = 'standard' end |
Instance Method Details
#default_sort_params ⇒ Object
11 12 13 14 |
# File 'lib/active_fedora/querying.rb', line 11 def default_sort_params [ActiveFedora.index_field_mapper.solr_name('system_create', :stored_sortable, type: :date) + ' asc'] end |