Project

General

Profile

Actions

Feature #23265

closed

Group versions by status in version custom field filter

Added by Felix Schäfer over 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Custom fields
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed

Description

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.


Related issues

Related to Redmine - Feature #10412: Target version filter shoud group versions by statusClosedJean-Philippe Lang

Actions
Related to Redmine - Feature #21577: The version should get a status archived like projectsNew

Actions
Related to Redmine - Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project nameClosed

Actions
Related to Redmine - Feature #15902: Custom Field - Version - Combo list to be grouped by projects..New

Actions
Actions #1

Updated by Toshi MARUYAMA over 8 years ago

  • Related to Feature #10412: Target version filter shoud group versions by status added
Actions #2

Updated by Toshi MARUYAMA over 8 years ago

  • Description updated (diff)
Actions #3

Updated by Toshi MARUYAMA about 8 years ago

  • Tracker changed from Defect to Feature
Actions #4

Updated by Toshi MARUYAMA about 8 years ago

  • Related to Feature #21577: The version should get a status archived like projects added
Actions #5

Updated by Jean-Philippe Lang almost 8 years ago

  • Subject changed from Adapt custom field type version filter and selector to same rendering as core version filter to Group versions by status in version custom field filter
  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Target version set to 3.4.0
  • Resolution set to Fixed

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

Actions #6

Updated by Mischa The Evil almost 8 years ago

  • Related to Feature #9850: Differentiate shared versions in version-format custom field drop-downs by prepending its project name added
Actions #7

Updated by Toshi MARUYAMA almost 7 years ago

  • Related to Feature #15902: Custom Field - Version - Combo list to be grouped by projects.. added
Actions

Also available in: Atom PDF