Sha256: 4c5baef132fbe0589f2387b71f847a2ffb723aae826e85d28f94d29be4cfd21c

Contents?: true

Size: 290 Bytes

Versions: 96

Compression:

Stored size: 290 Bytes

Contents

json.array! @facets do |facet_obj|
  json.name facet_obj.name
  json.count facet_obj.count
  json.included_objs do
    formatted_objs = facet_obj.included_objs.map do |obj|
      @formatter.call(obj, scrivito_user, controller.view_context)
    end
    json.merge!(formatted_objs)
  end
end

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
scrivito_sdk-1.2.0.rc2 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.2.0.rc1 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.1.1 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.1.0 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.1.0.rc3 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.1.0.rc2 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.1.0.rc1 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.0.0 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.0.0.rc4 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.0.0.rc3 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.0.0.rc2 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-1.0.0.rc1 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-0.90.0 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-0.90.0.rc3 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-0.90.0.rc2 app/views/scrivito/objs/search/facet.json.jbuilder
scrivito_sdk-0.90.0.rc1 app/views/scrivito/objs/search/facet.json.jbuilder