Project

General

Profile

Actions

Defect #31511

closed

CSV export of time entries report does not honor project filter

Added by Xavier Calland almost 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Time tracking
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

When exporting a report of time entries in a projet (from an URL like /project/foo/time_entries/report) the URL used (when the export options dialog is closed) is not the project specific URL (i.e. /time_entries/report.csv and not /project/foo/time_entries/report.csv).

It seems the report.csv is generated source:/trunk/app/views/timelog/report.html.erb@18146#L91 with

<%= report_time_entries_path(:format => 'csv') %>

and the original form_tag source:/trunk/app/views/timelog/report.html.erb@18146#L91 uses

<%= form_tag(_report_time_entries_path(@project, nil), :method => :get, :id => 'query_form') do %>

Files

issue_31511.diff (1.27 KB) issue_31511.diff Xavier Calland, 2019-06-04 10:42

Related issues

Related to Redmine - Feature #26279: Allow switching the encoding to UTF-8 when exporting to CSVClosedGo MAEDA

Actions
Has duplicate Redmine - Defect #30809: Spent time report > CSV not obeying filtersClosed

Actions
Actions

Also available in: Atom PDF