プロジェクト

全般

プロフィール

Vote #77607

完了

Group versions by status in version custom field filter

Admin Redmine さんが3年以上前に追加. 3年以上前に更新.

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

0%

予定工数:
category_id:
14
version_id:
119
issue_org_id:
23265
author_id:
3866
assigned_to_id:
1
comments:
7
status_id:
5
tracker_id:
2
plus1:
0
affected_version:
closed_on:
affected_version_id:
ステータス-->[Closed]

説明

This pertains to the change applied in #10412#note-16.

Custom fields of the type version can also have filters and can be rendered as a select menu for editing, both are currently rendered with the project name and without grouping, as well as not ordered (case in point the Affected version field to create this issue has "3.3.0" then "2.6.9", "3.0.7" and "3.1.3").

We had thought about adding the project in the name and adding a third element in the inner arrays with the status name in source:/trunk/lib/redmine/field_format.rb@15606#L823, and to implement a similar switch whether the inner arrays have 2 or 3 elements in source:/trunk/lib/redmine/field_format.rb@15606#L541 as is done in Javascript for the filter. This would however impact everything using @Redmine::FieldFormat::VersionFormat#possible_values_options@, for example @#value_from_keyword@ which would only recognize version by "project name - version name", and so on.

We would be willing to propose a patch but are unsure what degree of change is acceptable here.


journals

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
Done in r16194. Filters for version custom fields are now group by status just like the standard "Target version" filter.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

relates,Closed,10412,Target version filter shoud group versions by status
relates,New,21577,The version should get a status archived like projects
relates,Closed,9850,Differentiate shared versions in version-format custom field drop-downs by prepending its project name
relates,New,15902,Custom Field - Version - Combo list to be grouped by projects..

Admin Redmine さんが3年以上前に更新

  • カテゴリCustom fields_14 にセット
  • 対象バージョン3.4.0_119 にセット

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

いいね!0
いいね!0