Skip to content

Commit

Permalink
Merge pull request #1928 from tvdeyen/remove-page-from-search-query
Browse files Browse the repository at this point in the history
Remove page from search form query
  • Loading branch information
tvdeyen authored Aug 26, 2020
2 parents f3f0d43 + 3a26cf9 commit 98ab5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/alchemy/admin/partials/_search_form.html.erb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<%- url ||= resource_url_proxy.url_for({ action: 'index' }.merge(search_filter_params.except(:q))) -%>
<%- url ||= resource_url_proxy.url_for({ action: 'index' }.merge(search_filter_params.except(:q, :page))) -%>

<%= search_form_for @query, url: url, class: 'search_form' do |f| %>
<div class="search_field">
Expand Down

0 comments on commit 98ab5e4

Please sign in to comment.