Sha256: 4c15b9b4a4871cfdbdac8595e975ff2da15b2a3f657edd2a2a5391df43575af0
Contents?: true
Size: 576 Bytes
Versions: 12
Compression:
Stored size: 576 Bytes
Contents
<% # container for all documents in index view -%> <div id="documents"> <% facet_name = grouping_facet %> <%- if facet_name -%> <%- @response.docs.group_by {|d| d[facet_name]}.each do |grouping| -%> <%= render :partial => 'catalog/_index_partials/default_group', :locals => {:docs => grouping[1], :facet_name => facet_name, :facet_value => grouping[0].to_s} %> <%- end -%> <%- else -%> <%= render :partial => 'catalog/_index_partials/default_group', :locals => {:docs => @response.docs, :facet_name => nil, :facet_value => nil} %> <%- end -%> </div>
Version data entries
12 entries across 12 versions & 1 rubygems