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

Version Path
hydra-head-3.1.0 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.rc2 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.rc1 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.pre5 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.pre4 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.pre3 app/views/catalog/_document_list.html.erb
hydra-head-3.0.1 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.pre2 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0 app/views/catalog/_document_list.html.erb
hydra-head-3.1.0.pre1 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0.rc2 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0.rc1 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0pre4 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0pre3 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0pre2 app/views/catalog/_document_list.html.erb
hydra-head-3.0.0pre1 app/views/catalog/_document_list.html.erb