diff options
-rw-r--r-- | app/views/timelog/report.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
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' %></p> + <%= link_to l(:button_clear), {:params => request.query_parameters.merge(:criteria => nil)}, :class => 'icon icon-reload' %></p> <% end %> <% unless @report.criteria.empty? %> |