Monotone-Parent: 67a6b70e9be24925daad7a5b4e083496949f769e

Monotone-Revision: a87ea069b19e3f7bd1333de3fb1a25fc04303484

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-05T15:19:15
This commit is contained in:
Wolfgang Sourdeau
2011-12-05 15:19:15 +00:00
parent 6aaf3c1034
commit 648b0ccbdd
3 changed files with 22 additions and 10 deletions

View File

@@ -1,3 +1,13 @@
2011-12-05 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/Appointments/iCalEvent+SOGo.m (-quickRecord):
-[iCalEntityObject categories] returns an NSArray that we need to
convert to a string for the database content.
* SoObjects/Appointments/iCalToDo+SOGo.m (-quickRecord):
-[iCalEntityObject categories] returns an NSArray that we need to
convert to a string for the database content.
2011-11-30 Wolfgang Sourdeau <wsourdeau@inverse.ca>
* SoObjects/SOGo/SOGoFolder.m

View File

@@ -68,8 +68,8 @@
{
NSMutableDictionary *row;
NSCalendarDate *startDate, *endDate, *nextAlarmDate;
NSArray *attendees;
NSString *uid, *title, *location, *status, *category;
NSArray *attendees, *categories;
NSString *uid, *title, *location, *status;
NSNumber *sequence;
id organizer;
id participants, partmails;
@@ -257,9 +257,10 @@
else
[row setObject: [NSNumber numberWithInt: 0] forKey: @"c_nextalarm"];
category = [self categories];
if ([category length] > 0)
[row setObject: category forKey: @"c_category"];
categories = [self categories];
if ([categories count] > 0)
[row setObject: [categories componentsJoinedByString: @","]
forKey: @"c_category"];
return row;
}

View File

@@ -45,8 +45,8 @@
{
NSMutableDictionary *row;
NSCalendarDate *startDate, *dueDate, *nextAlarmDate;
NSArray *attendees;
NSString *uid, *title, *location, *status, *category;
NSArray *attendees, *categories;
NSString *uid, *title, *location, *status;
NSNumber *sequence;
id organizer, date;
id participants, partmails;
@@ -201,9 +201,10 @@
else
[row setObject: [NSNumber numberWithInt: 0] forKey: @"c_nextalarm"];
category = [self categories];
if ([category length] > 0)
[row setObject: category forKey: @"c_category"];
categories = [self categories];
if ([categories count] > 0)
[row setObject: [categories componentsJoinedByString: @","]
forKey: @"c_category"];
return row;
}