mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-25 08:23:28 +00:00
See ChangeLog
Monotone-Parent: 3becdd5041a3336d6435f00058f362363842bf2a Monotone-Revision: 44f11e17b6ccb6efa08fd613a7d939a22240c5ec Monotone-Author: flachapelle@inverse.ca Monotone-Date: 2009-06-09T19:30:02 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -972,10 +972,16 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
if (logger)
|
||||
[self debugWithFormat:@"should fetch (%@=>%@) ...", _startDate, endDate];
|
||||
|
||||
sql = [NSString stringWithFormat: @"(c_iscycle = 0) %@ %@ %@ %@ %@",
|
||||
dateSqlString, titleSqlString, componentSqlString,
|
||||
privacySqlString, filterSqlString];
|
||||
|
||||
// We treat recurrent tasks as normal components
|
||||
if ([_component caseInsensitiveCompare: @"vtodo"] == NSOrderedSame)
|
||||
sql = @"";
|
||||
else
|
||||
sql = @"(c_iscycle = 0) ";
|
||||
|
||||
sql = [sql stringByAppendingFormat: @"%@ %@ %@ %@ %@",
|
||||
dateSqlString, titleSqlString, componentSqlString,
|
||||
privacySqlString, filterSqlString];
|
||||
|
||||
/* fetch non-recurrent apts first */
|
||||
qualifier = [EOQualifier qualifierWithQualifierFormat: sql];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user