Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2006-12-08 21:59:11 -0500
committermkersten2006-12-08 21:59:11 -0500
commit10f40bdc0c9f3b0c2bc2b7d31d4e5971ccebc4e1 (patch)
tree0666434b4d8d2c20432f6cd181db72970db2673e
parent1a7852631edcfc2e298e6a1bad658dd4274a516e (diff)
downloadorg.eclipse.mylyn.tasks-10f40bdc0c9f3b0c2bc2b7d31d4e5971ccebc4e1.tar.gz
org.eclipse.mylyn.tasks-10f40bdc0c9f3b0c2bc2b7d31d4e5971ccebc4e1.tar.xz
org.eclipse.mylyn.tasks-10f40bdc0c9f3b0c2bc2b7d31d4e5971ccebc4e1.zip
RESOLVED - bug 167306: Sort by summary in tasklist not working for hits with no tasks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=167306
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java
index 8a217c63b..dc885cdee 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/internal/tasks/ui/views/TaskListTableSorter.java
@@ -110,6 +110,8 @@ public class TaskListTableSorter extends ViewerSorter {
AbstractRepositoryTask task1 = ((AbstractQueryHit)element).getCorrespondingTask();
if (task1 != null && task1.getIdLabel() != null) {
summary = task1.getIdLabel() + ": " + summary;
+ } else {
+ summary = ((AbstractQueryHit)element).getIdLabel() + ": " + summary;
}
} else if (element instanceof AbstractRepositoryTask) {
AbstractRepositoryTask task1 = (AbstractRepositoryTask)element;

Back to the top