1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-26 10:21:14 +00:00

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

git-svn-id: http://svn.redmine.org/redmine/trunk@16057 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2016-12-11 09:35:05 +00:00
parent d05d559d15
commit c9e197ed55

View File

@ -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? %>