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

Version Path
hydra-head-3.3.0 app/views/catalog/_document_list.html.erb
hydra-head-3.2.2 app/views/catalog/_document_list.html.erb
hydra-head-3.2.1 app/views/catalog/_document_list.html.erb
hydra-head-3.2.0 app/views/catalog/_document_list.html.erb
hydra-head-3.2.0.pre3 app/views/catalog/_document_list.html.erb
hydra-head-3.2.0.pre2 app/views/catalog/_document_list.html.erb
hydra-head-3.2.0.pre1 app/views/catalog/_document_list.html.erb
hydra-head-3.1.5 app/views/catalog/_document_list.html.erb
hydra-head-3.1.4 app/views/catalog/_document_list.html.erb
hydra-head-3.1.3 app/views/catalog/_document_list.html.erb
hydra-head-3.1.2 app/views/catalog/_document_list.html.erb
hydra-head-3.1.1 app/views/catalog/_document_list.html.erb