Defect #956

Priorities not ordered when displayed as a filter in issue list

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

Status:ClosedStart date:2008-03-29
Priority:NormalDue date:
Assignee:-% Done:

0%

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

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 Magnifier - diff for app/models/query.rb (r1308) (1.24 KB) Thomas Löber, 2008-03-30 00:14

Associated revisions

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

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

History

#1 Updated by Thomas Löber almost 10 years ago

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

#2 Updated by Jean-Philippe Lang almost 10 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