summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-19 20:34:12 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-01-19 20:34:12 +0000
commit4ac9dc3075a3daa7e52700899b52d23db01915ce (patch)
tree61622ada18593c59781bd40a0d24aba32a56d3a5
parent3471d8756b0381877c2afb38787600de2087cee1 (diff)
downloadredmine-4ac9dc3075a3daa7e52700899b52d23db01915ce.tar.gz
redmine-4ac9dc3075a3daa7e52700899b52d23db01915ce.zip
Reset sort criteria when clearing filters.
git-svn-id: http://svn.redmine.org/redmine/trunk@16230 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/views/queries/_query_form.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/queries/_query_form.html.erb b/app/views/queries/_query_form.html.erb
index bf0b0c257..7cc01ed2f 100644
--- a/app/views/queries/_query_form.html.erb
+++ b/app/views/queries/_query_form.html.erb
@@ -43,7 +43,7 @@
<p class="buttons">
<%= link_to_function l(:button_apply), '$("#query_form").submit()', :class => 'icon icon-checked' %>
- <%= link_to l(:button_clear), { :set_filter => 1, :project_id => @project }, :class => 'icon icon-reload' %>
+ <%= link_to l(:button_clear), { :set_filter => 1, :sort => '', :project_id => @project }, :class => 'icon icon-reload' %>
<% if @query.new_record? %>
<% if User.current.allowed_to?(:save_queries, @project, :global => true) %>
<%= link_to_function l(:button_save),