From 1da051e1bdcd8393f2fb56c0595b18304f80fe2d Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 20 Dec 2016 09:01:08 +0000 Subject: [PATCH] Merged r16057 (#13622). git-svn-id: http://svn.redmine.org/redmine/branches/3.2-stable@16096 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/timelog/report.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index 176f128e0..7d022aac3 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -25,7 +25,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' %>

+ <%= link_to l(:button_clear), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %>

<% end %> <% unless @report.criteria.empty? %> -- 2.39.5