(fix) fixed task sorting on multiple categories
parent
cb532de83a
commit
ce8f2e9481
1
NEWS
1
NEWS
|
@ -23,6 +23,7 @@ Bug fixes
|
|||
- [web] fixed handling of attachments in mail editor (#4058, #4063)
|
||||
- [web] fixed saving draft outside Mail module (#4071)
|
||||
- [web] fixed SCAYT automatic language selection in HTML editor
|
||||
- [web] fixed task sorting on multiple categories
|
||||
|
||||
3.2.7 (2017-02-14)
|
||||
------------------
|
||||
|
|
|
@ -266,7 +266,12 @@
|
|||
NSComparisonResult result;
|
||||
|
||||
selfCategory = [self objectAtIndex: taskCategoryIndex];
|
||||
if ([selfCategory isKindOfClass: [NSArray class]])
|
||||
selfCategory = [(id)selfCategory lastObject];
|
||||
|
||||
otherCategory = [otherTask objectAtIndex: taskCategoryIndex];
|
||||
if ([otherCategory isKindOfClass: [NSArray class]])
|
||||
otherCategory = [(id)otherCategory lastObject];
|
||||
|
||||
if ([selfCategory isNotNull] && [otherCategory isNotNull])
|
||||
result = [selfCategory caseInsensitiveCompare: otherCategory];
|
||||
|
|
Loading…
Reference in New Issue