Monotone-Parent: c9ad04cf940b51e28fe7c5aaea670fb0da5e3456
Monotone-Revision: 796c6bb92f7f6f97be354aeb3b35c39751605e50 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-17T15:55:35 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
fdca438330
commit
6a58d17252
|
@ -1,5 +1,8 @@
|
|||
2009-06-17 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Appointments/SOGoAppointmentFolder.m
|
||||
(-fetchFields:...): don't use the privacySqlString twice.
|
||||
|
||||
* UI/MailPartViewers/UIxMailPartICalViewer.m (-storedEventObject):
|
||||
use the new "storedEventFetched" bool ivar to specify whether we
|
||||
already attempted to fetch the event from the user calendars.
|
||||
|
|
|
@ -480,12 +480,12 @@ static NSArray *reducedReportQueryFields = nil;
|
|||
[deniedClasses objectAtIndex: 0]];
|
||||
else if (grantedCount == 1)
|
||||
privacySqlString
|
||||
= [NSString stringWithFormat: @"c_classification == %@",
|
||||
= [NSString stringWithFormat: @"c_classification = %@",
|
||||
[grantedClasses objectAtIndex: 0]];
|
||||
else
|
||||
/* We prevent any event/task from being listed. There must be a better
|
||||
way... */
|
||||
privacySqlString = @"0 == 1";
|
||||
privacySqlString = @"c_classification = 255";
|
||||
}
|
||||
|
||||
return privacySqlString;
|
||||
|
@ -1027,8 +1027,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
|||
/* fetch recurrent apts now. we do NOT consider events with no cycle end. */
|
||||
if (_endDate || filters)
|
||||
{
|
||||
sql = [NSString stringWithFormat: @"(c_iscycle = 1) %@ %@ %@ %@", titleSqlString,
|
||||
componentSqlString, privacySqlString, filterSqlString];
|
||||
sql = [NSString stringWithFormat: @"(c_iscycle = 1) %@ %@ %@", titleSqlString,
|
||||
componentSqlString, filterSqlString];
|
||||
|
||||
qualifier = [EOQualifier qualifierWithQualifierFormat: sql];
|
||||
|
||||
|
|
Loading…
Reference in New Issue