diff --git a/app/views/catalog/_document_split.html.erb b/app/views/catalog/_document_split.html.erb index 85715aa8..7b03637c 100644 --- a/app/views/catalog/_document_split.html.erb +++ b/app/views/catalog/_document_split.html.erb @@ -8,12 +8,12 @@ > <% isIndex = results_js_map_selector(controller.controller_name) == "index" %> <%= render blacklight_config.view_config(document_index_view_type).search_header_component.new if isIndex%> - +
<% document_presenters = documents.map { |doc| document_presenter(doc) } -%> <% document_presenters.each_with_index do |presenter, index| %> <%= render blacklight_config.index.document_component.new(document: presenter, document_counter: index) %> <% end %> - +
<% if results_js_map_selector(controller.controller_name) == "index" %>