Sha256: d62dbd6f99f16fec24bc62afe8ce7a2b675d7653af4b0d343716d2f0bd2003fb
Contents?: true
Size: 640 Bytes
Versions: 13
Compression:
Stored size: 640 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].map { |x| SolrDocument.new(x) }, :facet_name => facet_name, :facet_value => grouping[0].to_s} %> <%- end -%> <%- else -%> <%= render :partial => 'catalog/_index_partials/default_group', :locals => {:docs => @response.docs.map { |x| SolrDocument.new(x) }, :facet_name => nil, :facet_value => nil} %> <%- end -%> </div>
Version data entries
13 entries across 13 versions & 1 rubygems