Skip to content

Commit 5a562e3

Browse files
committed
Refining your query on bento page doesn't cause issue in the article results, closes #410
1 parent 25f033f commit 5a562e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/views/bento/_articles_results.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
<% end %>
1010
</ol>
1111
<span class="material-icons">arrow_forward</span>
12-
<%= link_to t('bento.all_articles', number: number_to_human(@num_article_hits)), request.query_parameters.merge({controller: 'articles'}) %>
12+
<%= link_to t('bento.all_articles', number: number_to_human(@num_article_hits)), request.query_parameters.merge({controller: 'articles'}).without(:f, :range, :results_per_page) %>

app/views/bento/_catalog_results.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@
1313
<% end %>
1414
</ol>
1515
<span class="material-icons">arrow_forward</span>
16-
<%= link_to t('bento.all_catalog', number: number_to_human(@num_catalog_hits)), request.query_parameters.merge({controller: 'catalog'}) %>
16+
<%= link_to t('bento.all_catalog', number: number_to_human(@num_catalog_hits)), request.query_parameters.merge({controller: 'catalog'}).without(:f, :range, :results_per_page) %>

0 commit comments

Comments
 (0)