Sha256: dbea666b4f630da3431d1e630ffeabd1970e2364ef5b0db532437e69b1bfcea4

Contents?: true

Size: 604 Bytes

Versions: 4

Compression:

Stored size: 604 Bytes

Contents

json.query_string @search.query_string
json.message @search.message
json.redirect @search.redirect
json.sorts @search.sorts
json.sort @search.sort

json.content_blocks @search.content.blocks do |block|
  json.partial! 'workarea/api/storefront/content_blocks/block', block: block
end

json.partial! 'workarea/api/storefront/shared/pagination', model: @search

json.facets @search.facets do |facet|
  json.partial! "workarea/api/storefront/facets/#{facet.type}", facet: facet
end

json.products @search.products do |product|
  json.partial! 'workarea/api/storefront/products/product', product: product
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
workarea-api-4.4.7 storefront/app/views/workarea/api/storefront/searches/show.json.jbuilder
workarea-api-storefront-4.4.7 app/views/workarea/api/storefront/searches/show.json.jbuilder
workarea-api-4.4.6 storefront/app/views/workarea/api/storefront/searches/show.json.jbuilder
workarea-api-storefront-4.4.6 app/views/workarea/api/storefront/searches/show.json.jbuilder