Bug 296913 - support sorting by due date
Summary: support sorting by due date
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Mylyn (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3.1   Edit
Assignee: Frank Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2009-12-04 08:25 EST by Derek CLA
Modified: 2009-12-16 09:17 EST (History)
2 users (show)

See Also:


Attachments
commited patch (3.99 KB, patch)
2009-12-14 14:24 EST, Frank Becker CLA
no flags Details | Diff
mylyn/context/zip (2.06 KB, application/octet-stream)
2009-12-14 14:24 EST, Frank Becker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Derek CLA 2009-12-04 08:25:31 EST
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5
Build Identifier: 20090920-1017

Would be very nice to be able to sort the tasks by the task due date.

Reproducible: Always

Steps to Reproduce:
Tasks should be displayed in order of their due date. The first one due should show up at the top, and the last one due should show up at the bottom. Child tasks should be sorted the same way under a parent. A parent task with no due date, should take either the earliest or latest date of all of its children. This should be configurable in the settings.
Comment 1 Steffen Pingel CLA 2009-12-10 00:16:39 EST
Thanks for the feture request Derek. It should be fairly straight forward to add an option for sorting by due date.  Frank, would you be interested in working on that?

> A parent task with no due date, should take either the earliest or latest date of all of its children.

I don't think that we can currently support that. The sorter only compares two elements at a time but does not traverse the hierarchy.
Comment 2 Frank Becker CLA 2009-12-14 14:24:05 EST
Created attachment 154430 [details]
commited patch
Comment 3 Frank Becker CLA 2009-12-14 14:24:10 EST
Created attachment 154431 [details]
mylyn/context/zip
Comment 4 Frank Becker CLA 2009-12-14 14:32:42 EST
Steffen,

do you close this after backport this to 3.3.1?
Comment 5 Steffen Pingel CLA 2009-12-15 16:55:03 EST
The 3.3.1 release is now available from the download site and includes the changes made for this bug.
Comment 6 Derek CLA 2009-12-16 09:17:14 EST
Thanks guys!!! This really helps me out.