Commit 2ab5bd97 authored by jplang's avatar jplang

"Clear" button in Spent Time Report tab also clears global filters (#13622).

git-svn-id: https://svn.redmine.org/redmine/trunk@16057 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 8cb2ca2f
......@@ -23,7 +23,7 @@
:style => 'width: 200px',
:disabled => (@report.criteria.length >= 3),
:id => "criterias") %>
<%= link_to l(:button_clear), {:project_id => @project, :issue_id => @issue, :period_type => params[:period_type], :period => params[:period], :from => @from, :to => @to, :columns => @report.columns}, :class => 'icon icon-reload' %></p>
<%= link_to l(:button_clear), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p>
<% end %>
<% unless @report.criteria.empty? %>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment