Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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?

0 votes



2 answers

Permanent link

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 

0 votes

Comments

I thought that too, but then I'd still expect it to be sorted correctly, since the "id's view" looks like this
escalationlevel.iteral.l4
escalationlevel.literal.l4
escalationlevel.literal.l1
escalationlevel.literal.l2
escalationlevel.literal.l3


Permanent link
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...

0 votes

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,016
× 201
× 102
× 3

Question asked: Jun 05 '14, 9:01 a.m.

Question was seen: 6,253 times

Last updated: Jul 23 '15, 3:38 p.m.

Confirmation Cancel Confirm