From ee06dcfa1210fdef68d0df5a8f04e3de8832f981 Mon Sep 17 00:00:00 2001 From: C Robert Date: Thu, 24 Sep 2009 14:35:43 +0000 Subject: [PATCH] Added comments Monotone-Parent: 186728a29cda680b5f407135f9661441a93e1027 Monotone-Revision: ccfc7eec4cbaf67a75a6234a98ca6d0b154ca196 Monotone-Author: crobert@inverse.ca Monotone-Date: 2009-09-24T14:35:43 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 1 + UI/Scheduler/UIxCalFolderActions.m | 2 ++ 2 files changed, 3 insertions(+) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 617e52f33..d9cd1c089 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -631,6 +631,7 @@ static int davCalendarStartTimeLimit, davTimeLimitSeconds, sql = [NSString stringWithFormat: @"%@%@%@%@", dateSqlString, titleSqlString, componentSqlString, filterSqlString]; + /* sql is empty when we fetch everything (all parameters are nil) */ if ([sql length] > 0) sql = [sql substringFromIndex: 4]; else diff --git a/UI/Scheduler/UIxCalFolderActions.m b/UI/Scheduler/UIxCalFolderActions.m index a2ae01fe3..d2b75e39a 100644 --- a/UI/Scheduler/UIxCalFolderActions.m +++ b/UI/Scheduler/UIxCalFolderActions.m @@ -58,6 +58,8 @@ folder = [self clientObject]; calendar = [iCalCalendar groupWithTag: @"vcalendar"]; + /* We have to use bareFetchFields because we don't want to process anything + * (RRULES for example) */ array = [folder bareFetchFields: fields from: nil to: nil