diff options
author | Go MAEDA <maeda@farend.jp> | 2019-06-05 11:45:05 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2019-06-05 11:45:05 +0000 |
commit | 4b19df4dd3b9a622cc57abf5247c0049f49a517f (patch) | |
tree | 29254b818ae515c70cfa405c9d1a263d9c45dbef /app | |
parent | 19c713111935cba79db481af35d2347bb479c587 (diff) | |
download | redmine-4b19df4dd3b9a622cc57abf5247c0049f49a517f.tar.gz redmine-4b19df4dd3b9a622cc57abf5247c0049f49a517f.zip |
CSV export of time entries report does not honor project filter (#31511).
Patch by Xavier Calland.
git-svn-id: http://svn.redmine.org/redmine/trunk@18227 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/timelog/report.html.erb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/timelog/report.html.erb b/app/views/timelog/report.html.erb index ae64a891e..24425a55d 100644 --- a/app/views/timelog/report.html.erb +++ b/app/views/timelog/report.html.erb @@ -88,8 +88,8 @@ $(document).ready(function(){ $('input#csv-export-button').click(function(){ $('form input#encoding').val($('select#encoding option:selected').val()); - $('form#query_form').attr('action', '<%= report_time_entries_path(:format => 'csv') %>').submit(); - $('form#query_form').attr('action', '<%= report_time_entries_path %>'); + $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil, :format => 'csv') %>').submit(); + $('form#query_form').attr('action', '<%= _report_time_entries_path(@project, nil) %>'); hideModal(this); }); }); |