mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-11 16:28:51 +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:
@@ -4,6 +4,11 @@
|
||||
([SOGoAppointmentFolder -_sqlStringRangeFromto:]): dates are not
|
||||
necessarily defined in case of vTODOs; don't apply the range
|
||||
constraint when dates are null so the SQL query return tasks.
|
||||
([SOGoAppointmentFolder
|
||||
-fetchFields:from:to:title:component:additionalFilters:includeProtectedInformation:]):
|
||||
recurrent tasks are now returned as normal components and are
|
||||
shown in the web interface. They are not flatten as recurrent
|
||||
events are.
|
||||
|
||||
2009-06-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
|
||||
@@ -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