1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-28 19:29:38 +00:00

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
This commit is contained in:
Go MAEDA 2019-06-05 11:45:05 +00:00
parent 19c7131119
commit 4b19df4dd3

View File

@ -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);
});
});