Bug 296913

Summary: support sorting by due date
Product: z_Archived Reporter: Derek <dvankooten>
Component: MylynAssignee: Frank Becker <eclipse>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: eclipse, steffen.pingel
Version: unspecifiedKeywords: noteworthy
Target Milestone: 3.3.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
commited patch
none
mylyn/context/zip none

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.