Sha256: e70a3587e20615acbd606d49242fb10d5c8c51d6b824c489def460536ccce5e2

Contents?: true

Size: 381 Bytes

Versions: 11

Compression:

Stored size: 381 Bytes

Contents

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

      document Search::Admin

      def initialize(params = {})
        super(params.merge(type: 'gift_card'))
      end

      def facets
        super + [TermsFacet.new(self, 'created_by')]
      end
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
workarea-gift_cards-3.4.11 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-4.0.3 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-4.0.2 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-3.4.10 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-4.0.1 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-3.4.9 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-3.4.8 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-4.0.0 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-4.0.0.beta.1 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-3.4.7 app/queries/workarea/search/admin_gift_cards.rb
workarea-gift_cards-3.4.6 app/queries/workarea/search/admin_gift_cards.rb