Skip to content

Commit

Permalink
DEPRECATION WARNING: Calling render_document_index without documents …
Browse files Browse the repository at this point in the history
…is deprecated and will be removed in version 8
  • Loading branch information
sandbergja committed Jan 14, 2023
1 parent 6a65db3 commit 0109391
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/bookmarks/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
<h3 class='section-heading'><%= t('blacklight.bookmarks.no_bookmarks') %></h3>
<% else %>
<%= render 'sort_and_per_page' %>
<%= render_document_index %>
<h2 class='section-heading sr-only visually-hidden'><%= t('blacklight.bookmarks.list_title') %></h2>
<%= render_document_index @response.documents %>
<%= render 'results_pagination' %>
<% end %>
</div>
Expand Down

0 comments on commit 0109391

Please sign in to comment.