mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-10-11 23:07:12 +00:00
Fix for bug #3008
This commit is contained in:
1 parent
6027cb50d4
commit
cd70bec9fa
2 files changed
+3
-2
No files matched your search
@@ -2831,8 +2831,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
return nil;
|
||||
}
|
||||
|
||||
sql = [NSString stringWithFormat: @"((c_nextalarm <= %u) AND (c_nextalarm >= %u)) OR ((c_nextalarm > 0) AND (c_enddate > %u))",
|
||||
[_endUTCDate unsignedIntValue], [_startUTCDate unsignedIntValue], [_startUTCDate unsignedIntValue]];
|
||||
sql = [NSString stringWithFormat: @"((c_nextalarm <= %u) AND (c_nextalarm >= %u)) OR ((c_nextalarm > 0) AND (c_nextalarm <= %u) AND (c_enddate > %u))",
|
||||
[_endUTCDate unsignedIntValue], [_startUTCDate unsignedIntValue], [_startUTCDate unsignedIntValue], [_startUTCDate unsignedIntValue]];
|
||||
qualifier = [EOQualifier qualifierWithQualifierFormat: sql];
|
||||
records = [folder fetchFields: nameFields matchingQualifier: qualifier];
|
||||
|
||||
|
||||
Reference in new issue
Block a user