Defect #2616

Target version-list on bulk edit form is incorrectly sorted

Added by Mischa The Evil almost 9 years ago. Updated almost 9 years ago.

Status:ClosedStart date:2009-01-28
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:UI
Target version:0.9.0
Resolution:Fixed Affected version:

Description

The list of issue target-verion options that is shown on the bulk edit form does not follow the regular sort-order (by date then by name) as seen e.g. on the versions project-settings page. Now it seems to be sorted by id.

Quick workaround (or definate fix after approval) would be to change source:trunk/app/views/issues/bulk_edit.rhtml#L30 from:

                                   options_from_collection_for_select(@project.versions, :id, :name)) %></label>

to

                                   options_from_collection_for_select(@project.versions.sort, :id, :name)) %></label>

Related issues

Related to Redmine - Defect #1956: Status list on bulk edit form does not follow normal sequ... Closed 2008-09-26

Associated revisions

Revision 2330
Added by Jean-Philippe Lang almost 9 years ago

Sort target versions list on bulk edit form (#2616).

History

#1 Updated by Mischa The Evil almost 9 years ago

Added relationship with issue #1956 for some more clarity about this issue...

#2 Updated by Jean-Philippe Lang almost 9 years ago

  • Status changed from New to Closed
  • Target version set to 0.9.0
  • Resolution set to Fixed

Fixed in r2330.

Also available in: Atom PDF