Commit 7b63f041 authored by maeda's avatar maeda

CSV export of time entries report does not honor project filter (#31511).

Patch by Xavier Calland.


git-svn-id: https://svn.redmine.org/redmine/trunk@18227 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent fa591b65
......@@ -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);
});
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment