Monotone-Parent: 6127aab36b319cc2b6c594cdd7434dfabd89bab3

Monotone-Revision: 91f695324033a759f628aa29aa6bbda21c6e7dfa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-08-28T21:42:28
Monotone-Branch: ca.inverse.sogo
maint-2.0.2
Wolfgang Sourdeau 2007-08-28 21:42:28 +00:00
parent 309cba267f
commit 6eaba7c3de
3 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,13 @@
2007-08-28 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* UI/MainUI/SOGoUserHomePage.m: add the "c_" prefix to the quick
table field names that are queried.
* SoObjects/Appointments/SOGoFreeBusyObject.m ([SOGoFreeBusyObject
-iCalStringForFreeBusyInfos:_infosfrom:_startDateto:_endDate]):
add the "c_" prefix to the quick table field names that are
queried.
2007-08-24 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/SOGoAppointmentFolder.m

View File

@ -169,9 +169,9 @@
info = [events nextObject];
while (info)
{
if ([[info objectForKey: @"isopaque"] boolValue])
if ([[info objectForKey: @"c_isopaque"] boolValue])
{
type = [self _fbTypeForEventStatus: [info objectForKey: @"status"]];
type = [self _fbTypeForEventStatus: [info objectForKey: @"c_status"]];
[freebusy addFreeBusyFrom: [info objectForKey: @"startDate"]
to: [info objectForKey: @"endDate"]
type: type];

View File

@ -97,9 +97,9 @@ static NSString *defaultModule = nil;
record = [records nextObject];
while (record)
{
status = [record objectForKey: @"status"];
status = [record objectForKey: @"c_status"];
value = [[record objectForKey: @"startdate"] intValue];
value = [[record objectForKey: @"c_startdate"] intValue];
currentDate = [NSCalendarDate dateWithTimeIntervalSince1970: value];
if ([currentDate earlierDate: startDate] == currentDate)
startInterval = 0;
@ -107,7 +107,7 @@ static NSString *defaultModule = nil;
startInterval
= ([currentDate timeIntervalSinceDate: startDate] / 900);
value = [[record objectForKey: @"enddate"] intValue];
value = [[record objectForKey: @"c_enddate"] intValue];
currentDate = [NSCalendarDate dateWithTimeIntervalSince1970: value];
if ([currentDate earlierDate: endDate] == endDate)
endInterval = [items count] - 1;