Sha256: 7fdd7b5812ce7c8f2d081d97b15803e0fdd0fc03c6c6abfa5dfc67d41265d961

Contents?: true

Size: 497 Bytes

Versions: 15

Compression:

Stored size: 497 Bytes

Contents

module ActiveFedora
  module Querying

    delegate :find, :first, :exists?, :where, :limit, :offset, :order, :delete_all, 
      :destroy_all, :count, :last, :find_with_conditions, :find_in_batches, :find_each, :to=>:all

    def self.extended(base)
      base.class_attribute  :solr_query_handler
      base.solr_query_handler = 'standard'
    end

    def default_sort_params
      [ActiveFedora::SolrService.solr_name(:system_create, :stored_sortable, type: :date)+' asc'] 
    end

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
active-fedora-8.7.0 lib/active_fedora/querying.rb
active-fedora-8.6.0 lib/active_fedora/querying.rb
active-fedora-8.5.0 lib/active_fedora/querying.rb
active-fedora-8.4.2 lib/active_fedora/querying.rb
active-fedora-8.4.1 lib/active_fedora/querying.rb
active-fedora-8.4.0 lib/active_fedora/querying.rb
active-fedora-8.3.0 lib/active_fedora/querying.rb
active-fedora-8.2.2 lib/active_fedora/querying.rb
active-fedora-8.2.1 lib/active_fedora/querying.rb
active-fedora-8.2.0 lib/active_fedora/querying.rb
active-fedora-8.1.0 lib/active_fedora/querying.rb
active-fedora-8.0.1 lib/active_fedora/querying.rb
active-fedora-8.0.0 lib/active_fedora/querying.rb
active-fedora-8.0.0.rc3 lib/active_fedora/querying.rb
active-fedora-8.0.0.rc2 lib/active_fedora/querying.rb