From ebc1ea2790002e2c2194d03a94b3011dd10c24de Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Thu, 26 Oct 2006 00:08:24 +0000 Subject: [PATCH] Monotone-Parent: 5f9d55a0d0cb0f899e3675371b9a053e49774159 Monotone-Revision: 6452ccaedf1fc82f0784d6e15a8fb3179f669c27 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-10-26T00:08:24 Monotone-Branch: ca.inverse.sogo --- SoObjects/Appointments/SOGoAppointmentFolder.m | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/SoObjects/Appointments/SOGoAppointmentFolder.m b/SoObjects/Appointments/SOGoAppointmentFolder.m index 15737c955..7e1e9156c 100644 --- a/SoObjects/Appointments/SOGoAppointmentFolder.m +++ b/SoObjects/Appointments/SOGoAppointmentFolder.m @@ -21,7 +21,6 @@ #import #import -#import #import #import #import @@ -763,14 +762,14 @@ static NSNumber *sharedYes = nil; to: (NSCalendarDate *) _endDate { static NSArray *infos = nil; // TODO: move to a plist file - if (infos == nil) { - infos = [[NSArray alloc] initWithObjects:@"partmails", @"partstates", nil]; - } - return [self fetchFields: infos - from: _startDate to: _endDate - component: nil]; -} + + if (!infos) + infos = [[NSArray alloc] initWithObjects: @"partmails", @"partstates", + @"isopaque", @"status", nil]; + return [self fetchFields: infos from: _startDate to: _endDate + component: @"vevent"]; +} - (NSArray *) fetchCoreInfosFrom: (NSCalendarDate *) _startDate to: (NSCalendarDate *) _endDate