- <% if search_results.none? %>
+ <% unless page.used? %>
No matches
<% end %>
- <%= render partial: "searches/result", collection: search_results %>
+ <%= with_automatic_pagination :filtered_search_results, page do %>
+ <%= render partial: "searches/result", collection: page.records %>
+ <% end %>