mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-23 12:25:23 +00:00
(feat) print event/task description in list view (#2881)
This commit is contained in:
@@ -2814,7 +2814,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
@"c_category", @"c_classification", @"c_isallday",
|
||||
@"c_isopaque", @"c_participants", @"c_partmails",
|
||||
@"c_partstates", @"c_sequence", @"c_priority",
|
||||
@"c_cycleinfo", @"c_iscycle", @"c_nextalarm", nil];
|
||||
@"c_cycleinfo", @"c_iscycle", @"c_nextalarm", @"c_description", nil];
|
||||
|
||||
return [self fetchFields: infos from: _startDate to: _endDate title: title
|
||||
component: _component
|
||||
|
||||
@@ -248,6 +248,12 @@
|
||||
else
|
||||
[row setObject: [NSNull null] forKey: @"c_category"];
|
||||
|
||||
/* handle description */
|
||||
if ([self comment])
|
||||
[row setObject: [self comment] forKey: @"c_description"];
|
||||
else
|
||||
[row setObject: [NSNull null] forKey: @"c_description"];
|
||||
|
||||
return row;
|
||||
}
|
||||
|
||||
|
||||
@@ -177,6 +177,12 @@
|
||||
[row setObject: [categories componentsJoinedByString: @","]
|
||||
forKey: @"c_category"];
|
||||
|
||||
/* handle description */
|
||||
if ([self comment])
|
||||
[row setObject: [self comment] forKey: @"c_description"];
|
||||
else
|
||||
[row setObject: [NSNull null] forKey: @"c_description"];
|
||||
|
||||
return row;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user