Sha256: fa793c45a3ba4868a1173103e1a6b12008006cfcabfd7ba1fc2934148a338ad4

Contents?: true

Size: 224 Bytes

Versions: 3

Compression:

Stored size: 224 Bytes

Contents

module Workarea
  decorate Search::ProductEntries, with: :package_products do
    def index_entries_for(product)
      return Search::Storefront::PackageProduct.new(product) if product.package?
      super
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
workarea-package_products-3.4.1 app/queries/workarea/search/product_entries.decorator
workarea-package_products-3.4.0 app/queries/workarea/search/product_entries.decorator
workarea-package_products-3.3.3 app/queries/workarea/search/product_entries.decorator