summaryrefslogtreecommitdiffstats
path: root/app/views
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 09:35:05 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2016-12-11 09:35:05 +0000
commitc9e197ed5558f194e5f5791e721cae94dce48643 (patch)
tree80d5a9bfc0a8f9e30b3e52214b37785ed093cf28 /app/views
parentd05d559d152d20a884c1686df8fa749f96c99a7a (diff)
downloadredmine-c9e197ed5558f194e5f5791e721cae94dce48643.tar.gz
redmine-c9e197ed5558f194e5f5791e721cae94dce48643.zip
"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
Diffstat (limited to 'app/views')
-rw-r--r--app/views/timelog/report.html.erb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb
index c377de63c..7641c0ea9 100644
--- a/app/views/timelog/report.html.erb
+++ b/app/views/timelog/report.html.erb
@@ -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? %>