Defect #956

Priorities not ordered when displayed as a filter in issue list

Added by Simone Carletti almost 4 years ago. Updated almost 4 years ago.

Status:Closed Start date:2008-03-29
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:Issues
Target version:0.7
Affected version:devel Resolution:Fixed

Description

I'm playing with a new installation of Redmine and I just imported data from an active trac project.
Because Redmine only supports Priority and not Severy property, I made some changes to the imported Priority items.

I reordered them via Admin panel then I tried to use this field as a filter in the issue list.
As you can see from the screenshot, priorities are not ordered by the order defined in the Admin panel by they are ordered by record ID (Low = 5, Medium = 4, Need to verify = 2).

priority-order.bug.png (14.2 kB) Simone Carletti, 2008-03-29 23:47

query.rb_1308.diff - diff for app/models/query.rb (r1308) (1.2 kB) Thomas Löber, 2008-03-30 00:14

Associated revisions

Revision 1309
Added by Jean-Philippe Lang almost 4 years ago

Fixed: Priorities not ordered when displayed as a filter in issue list (#956).

History

Updated by Thomas Löber almost 4 years ago

This can be fixed in app/models/query.rb.

Updated by Jean-Philippe Lang almost 4 years ago

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

Thanks Tomas. Fix applied in r1309.

Also available in: Atom PDF