commit | 5913764a59497983bc0bc817ee04d6304906eb46 | [log] [tgz] |
---|---|---|
author | relves | Tue Mar 11 21:42:49 2008 +0000 |
committer | relves | Tue Mar 11 21:42:49 2008 +0000 |
tree | 5a411c767dc99fda0eee709faa1347d905146930 | |
parent | e7505338e1ebee82c1f80bad38725008b0e8553b [diff] |
RESOLVED - bug 217733: [m2.3.1] update sorting of Task List to match the new scheduling facility https://bugs.eclipse.org/bugs/show_bug.cgi?id=217733
diff --git a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/TaskListInterestSorter.java b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/TaskListInterestSorter.java index f2c2c87..062f907 100644 --- a/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/TaskListInterestSorter.java +++ b/org.eclipse.mylyn.context.ui/src/org/eclipse/mylyn/internal/context/ui/TaskListInterestSorter.java
@@ -136,6 +136,10 @@ return 1; } else if (!task1.internalIsFloatingScheduledDate() && task2.internalIsFloatingScheduledDate()) { return -1; + } else if (task1.internalIsFloatingScheduledDate() && task2.internalIsFloatingScheduledDate()) { + if (task1.getScheduledForDate() != null && task2.getScheduledForDate() != null) { + return 0; + } } if (isToday(task1) && !isToday(task2)) {