From c71fd544e0b33246dfcc677ec830efc2031d419e Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Wed, 21 Mar 2018 17:36:00 +0800 Subject: [PATCH] Avoid sending a commit value from from the search button --- app/views/issues/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb index 2a3e1959f..a734b15e6 100644 --- a/app/views/issues/index.html.erb +++ b/app/views/issues/index.html.erb @@ -8,7 +8,7 @@ <%= select :issue_type, nil, options_for_select(@issue_types, params[:issue_type]), { :include_blank => t(".select_type")}, data: { behavior: 'category_dropdown' } %> <%= text_field_tag :search_by_user, params[:search_by_user], placeholder: t(".reported_user") %> <%= select :last_updated_by, nil, options_for_select(@users.all.collect{|f| [f.display_name, f.id]} << [ t(".not_updated"), "nil"], params[:last_updated_by]), { :include_blank => t(".select_last_updated_by")}, data: { behavior: 'category_dropdown' } %> -<%= submit_tag t(".search") %> +<%= submit_tag t(".search"), :name => nil %> <% end %>
-- 2.43.2