Sha256: 7314f66e66213cb97b44df27f531f6807da53b6005ae97864a51c2c63b85c125
Contents?: true
Size: 579 Bytes
Versions: 16
Compression:
Stored size: 579 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.get(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
16 entries across 16 versions & 1 rubygems