mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-04-06 22:08:51 +00:00
Monotone-Parent: 67a6b70e9be24925daad7a5b4e083496949f769e
Monotone-Revision: a87ea069b19e3f7bd1333de3fb1a25fc04303484 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2011-12-05T15:19:15
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user