mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-11 03:15:10 +00:00
Monotone-Parent: 9d295aedd68c44aba6937bedaf18a07f77494999
Monotone-Revision: ebd21a6e3c127f3eb4a8c885b2740304a24af72c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2009-06-09T12:49:44 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1428,13 +1428,16 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
return properties;
|
||||
}
|
||||
|
||||
/* FIXME: is this really what we want? Why limit the cycleenddate? */
|
||||
- (NSDictionary *) _makeCyclicFilterFrom: (NSDictionary *) filter
|
||||
{
|
||||
NSMutableDictionary *rc;
|
||||
NSNumber *start;
|
||||
|
||||
rc = [NSMutableDictionary dictionaryWithDictionary: filter];
|
||||
if ([rc objectForKey: @"start"])
|
||||
[rc setObject: [rc objectForKey: @"start"] forKey: @"cycleenddate"];
|
||||
start = [rc objectForKey: @"start"];
|
||||
if (start)
|
||||
[rc setObject: start forKey: @"cycleenddate"];
|
||||
[rc removeObjectForKey: @"start"];
|
||||
[rc removeObjectForKey: @"end"];
|
||||
[rc setObject: sharedYes forKey: @"iscycle"];
|
||||
|
||||
Reference in New Issue
Block a user