Sha256: ee41f9acf902ac5a6e6848785770eabf29135eb67268e1fc3a975d856093d093

Contents?: true

Size: 447 Bytes

Versions: 11

Compression:

Stored size: 447 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
      [indexer.create_time_solr_name + ' asc']
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
active-fedora-9.7.3 lib/active_fedora/querying.rb
active-fedora-9.7.2 lib/active_fedora/querying.rb
active-fedora-9.9.1 lib/active_fedora/querying.rb
active-fedora-9.9.0 lib/active_fedora/querying.rb
active-fedora-9.8.2 lib/active_fedora/querying.rb
active-fedora-9.8.1 lib/active_fedora/querying.rb
active-fedora-9.8.0 lib/active_fedora/querying.rb
active-fedora-9.7.1 lib/active_fedora/querying.rb
active-fedora-9.7.0 lib/active_fedora/querying.rb
active-fedora-9.6.2 lib/active_fedora/querying.rb
active-fedora-9.6.1 lib/active_fedora/querying.rb