Sha256: 0785aa7b84b1a6d6074a0367a5691cc235e978173194f79ba45953f934024325

Contents?: true

Size: 375 Bytes

Versions: 16

Compression:

Stored size: 375 Bytes

Contents

module Workarea
  module Search
    class AdminSearch
      include Query
      include AdminIndexSearch
      include AdminSorting
      include Pagination

      document Search::Admin

      def self.available_sorts
        AdminSorting.available_sorts
      end

      def default_admin_sort
        [{ _score: :desc }, { updated_at: :desc }]
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
workarea-core-3.5.27 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.26 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.45 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.25 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.23 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.44 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.22 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.43 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.21 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.42 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.20 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.41 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.19 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.40 app/queries/workarea/search/admin_search.rb
workarea-core-3.5.18 app/queries/workarea/search/admin_search.rb
workarea-core-3.4.39 app/queries/workarea/search/admin_search.rb