プロジェクト

全般

プロフィール

Vote #74432

未完了

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

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
New
優先度:
通常
担当者:
-
カテゴリ:
Time tracking_13
対象バージョン:
-
開始日:
2022/05/09
期日:
進捗率:

0%

予定工数:
category_id:
13
version_id:
0
issue_org_id:
14966
author_id:
86226
assigned_to_id:
0
comments:
0
status_id:
1
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[New]

説明

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.

Admin Redmine さんが約2年前に更新

  • カテゴリTime tracking_13 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0