(feat) print event/task description in list view (#2881)

This commit is contained in:
Ludovic Marcotte
2015-05-13 13:12:15 -04:00
parent 0ea0a77666
commit dc48e05dd3
6 changed files with 27 additions and 5 deletions
@@ -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
+6
View File
@@ -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;
}
+6
View File
@@ -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;
}