Enumeration is not sorted in query
I have created an enumeration (Escalationlevel) with 4 entries, they represent Levels, therefore they look like this:
L0 - xxxxx L1 - xxxxx L2 - xxxxx L3 - xxxxx the attribute is part of a query, and want to sort the colum Escalationlevel. The Attribute was added to the sort order, but it is not sorted: any idea how to configure the query or the enumeration so that the levels will be sorted accordingly? |
2 answers
Sometimes, the order shown is according to the order in the source file (RTC config).
I usually either recreate the entries in the correct order (from the GUI), or go to the source and move things around. You can check if it corrects your problem... I see in your comment that your ids are out of order... |
The query result is sorted by enumeration id instead of enumeration value. There is an enhancement request to address the issue https://jazz.net/jazz/web/projects/Rational%20Team%20Concert#action=com.ibm.team.workitem.viewWorkItem&id=175676 Comments I thought that too, but then I'd still expect it to be sorted correctly, since the "id's view" looks like this
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.