app/views/kaminari/blacklight_compact/_paginator.html.erb in blacklight-4.6.0 vs app/views/kaminari/blacklight_compact/_paginator.html.erb in blacklight-4.6.1
- old
+ new
@@ -6,10 +6,10 @@
remote: data-remote
paginator: the paginator that renders the pagination tags inside
Paginator now using the Bootstrap paginator class
-%>
-<%- pagination_info_cache = page_entries_info @response %>
+<%- pagination_info_cache ||= page_entries_info(@response) %>
<%= paginator.render do -%>
<%= prev_page_tag %> | <%= pagination_info_cache %> | <%= next_page_tag %>
<% end -%>
\ No newline at end of file