Sha256: ae981860bdeb18cb9f82797cc7a3d9521f5f385e0e5c7980ff1beafe2dd6f2b7
Contents?: true
Size: 612 Bytes
Versions: 1
Compression:
Stored size: 612 Bytes
Contents
<% # container for all documents in index view -%> <% 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 -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-0.0.1.pre1 | app/views/catalog/_document_list.html.erb |