Nested groups are not sorted by name

Description

reported at: http://www.igniterealtime.org/community/message/196453

Nested groups in Spark are displayed not sorted by name. Instead every new group is displayed on top of the list. E.g. there is a group Users. Then one wants to create 3 nested groups like: Accountants, Directors and Managers. In Admin Console one creates 3 groups in such order and with such shared names:

Users :: Accountants
Users :: Directors
Users :: Managers

But Spark will display those group in the creation order:

Users \
---------- Managers
---------- Directors
---------- Accountants

So, the last created group goes to the top. Should be sorted by name.

Environment

None

Activity

Show:
Walter Ebeling
June 22, 2011, 6:02 PM

Mass closing of all bugs resoved during 2.6.0 and 2.6.1

wroot
May 11, 2011, 8:13 PM

Yeap, groups are now sorted.

Holger Bergunde
May 11, 2011, 7:34 AM

sometimes i'm just blind i only checked if the subgroups are well sorted, but all the other groups were left unsorted. i just commited a change, maybe you could confirm if that fixes the issue

wroot
May 10, 2011, 5:08 PM

Well, Holger, you have fixed the sorting of subgroups (nested). Though is still messing it up by creating fake root groups. BUT. Now sorting of the normal groups is messed up. My local group "Friends" is now displayed the last one in my roster, though it should be first one in alphabetical order (other groups are "Users", "test local" (also local group), "Unfiled". It is ok with 12353 rev.

wroot
April 28, 2011, 6:40 PM

Look above. You need to give a shared name in such way "group1 :: group2". In this case group1 is the group which should be a root group and group2 is the one showing nested.

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Priority

Major

Assignee

Holger Bergunde

Reporter

wroot