Project

General

Profile

Actions

Feature #14966

open

"Spent Time" report: maximal criteria amount is hard-coded by now, should become configurable

Added by Egor Suvorov over 10 years ago.

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

0%

Estimated time:
Resolution:

Description

Sometimes I need to include more than three criteria in report (for example, Project->Issue->Activity->User). I was surprised to know that this constant (3) is hardcoded inside two files: /app/views/timelog/report.html.erb:27 and /lib/redmine/helpers/time_report.rb:30 .

If I want to increase this constant, I have to apply a patch to these two files (and there is no other way, since TimeReport resizes the 'criteria' array to 3 or less in initialization). It'd be better, if I can change this constant somewhere in redmine's configuration.

No data to display

Actions

Also available in: Atom PDF