(fix) Tasks list sorting

This commit is contained in:
Francis Lachapelle
2015-07-09 16:18:03 -04:00
parent 6f6ec58a09
commit 9a3aeb0004
3 changed files with 13 additions and 6 deletions
+2 -2
View File
@@ -120,8 +120,8 @@
NSComparisonResult result;
unsigned int selfTime, otherTime;
result = [self _compareCompletionWithStatus1: [self objectAtIndex: taskCalendarNameIndex]
andStatus2: [otherTask objectAtIndex: taskCalendarNameIndex]];
result = [self _compareCompletionWithStatus1: [self objectAtIndex: taskStatusIndex]
andStatus2: [otherTask objectAtIndex: taskStatusIndex]];
if (result == NSOrderedSame)
{
// End date