Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 372270

Summary: admin user list page - reloading the page changes order in the list
Product: [ECD] Orion Reporter: Susan McCourt <susan>
Component: ClientAssignee: Ken Walker <ken_walker>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ken_walker
Version: 0.4Flags: malgorzata.tomczyk: review+
Target Milestone: 1.0 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Susan McCourt CLA 2012-02-22 14:07:04 EST
http://orion.eclipse.org/profile/user-list.html

(as admin)

You can see the list of users.
If you reload the page, the order changes.

This confused me for a moment because I was testing checkbox selection and then navigating away and back in history.  When I came back, the top item I had checked was gone.  I was afraid I had deleted it, but in fact, it just appeared in a different order.
Comment 1 Ken Walker CLA 2012-08-20 16:27:43 EDT
Gosia can you have a look at:

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=b2ba7b1fd083376d3286943b4b4b92ae23afab99

I'm looking at paginating the results and first they need to be sorted.
Comment 2 Malgorzata Janczarska CLA 2012-08-21 06:03:14 EDT
(In reply to comment #1)
> Gosia can you have a look at:
> 
> http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=b2ba7b1fd083376d3286943b4b4b92ae23afab99
> 
> I'm looking at paginating the results and first they need to be sorted.

Thanks Ken for taking it over!
For some reason after cherry picking there where some imports missing in the commit, so I amended. Apart from that very nice, I pushed it to HEAD.
Comment 3 Ken Walker CLA 2012-08-21 10:38:59 EDT
Small update to ignore case while sorting otherwise all uppercase names appear first followed by lowercase names.

http://git.eclipse.org/c/orion/org.eclipse.orion.server.git/commit/?id=c1f5bf3a2f9f7a264e10928f21b8d7d10835a003