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

Bug 365450

Summary: [search] Click on column name to change sort order
Product: [ECD] Orion Reporter: John Arthorne <john.arthorne>
Component: ClientAssignee: libing wang <libingw>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: P3 CC: libingw, malgorzata.tomczyk, mamacdon, simon_kaegi, susan
Version: 0.3   
Target Milestone: 4.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 360275    
Bug Blocks:    

Description John Arthorne CLA 2011-12-02 10:31:04 EST
I20111201

Currently to change the order of search results, there is a "Sort by Name" preference in a drop-down in the toolbar. I think the more natural way for the end user is to click on the column header to sort by that column.
Comment 1 libing wang CLA 2011-12-02 11:14:34 EST
*** Bug 359849 has been marked as a duplicate of this bug. ***
Comment 2 libing wang CLA 2011-12-02 11:20:17 EST
I completely agree.
The option approach is just a temporary solution for self-hosters.
In bug 360275, I had some discussions with Susan, where we wanted a consistent UI for sorters.
Susan, I put the target to M2, what do you think?
Comment 3 Susan McCourt CLA 2011-12-02 11:33:03 EST
(In reply to comment #2)
> I completely agree.
> The option approach is just a temporary solution for self-hosters.
> In bug 360275, I had some discussions with Susan, where we wanted a consistent
> UI for sorters.
> Susan, I put the target to M2, what do you think?

The blocking bug is assigned to me for 0.4 (so M2) but I may need some help from simply a time standpoint.  I talked to Gosia early in 0.4 about helping, we'll check in during M2 and see what's on everyone's plate.
Comment 4 libing wang CLA 2012-07-26 12:13:45 EDT
*** Bug 386047 has been marked as a duplicate of this bug. ***
Comment 5 Susan McCourt CLA 2012-09-13 11:45:27 EDT
I'm going to take a look.  I'm doing a lot of API cleanup and code refactoring in the explorers/renderers/models and will put a sort mechanism in the model.  Then the remaining work would be to implement the up/down column headings and a way to specify in the renderer that you want these to appear.  See also bug 389529.
Comment 6 Susan McCourt CLA 2012-09-20 12:09:14 EDT
moving out of 1.0, I was being too optimistic.
Comment 7 libing wang CLA 2013-07-10 16:04:30 EDT
given that sorting is already an option in the search page now, and clicking on column will redo the search (request server again), there is no need to trigger the resort from the result pane.