mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-27 14:25:32 +00:00
Fix tasks list when some weekdays are disabled
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
3.2.1 (2016-10-DD)
|
||||
------------------
|
||||
|
||||
Bug fixes
|
||||
- [web] fixed tasks list when some weekdays are disabled
|
||||
|
||||
|
||||
3.2.0 (2016-10-03)
|
||||
------------------
|
||||
|
||||
|
||||
@@ -455,10 +455,13 @@ static NSArray *tasksFields = nil;
|
||||
|
||||
while ((newInfo = [currentInfos nextObject]))
|
||||
{
|
||||
// Skip components that appear on disabled weekdays
|
||||
weekDay = iCalWeekDayString[[[newInfo objectForKey: @"startDate"] dayOfWeek]];
|
||||
if ([enabledWeekDays count] && ![enabledWeekDays containsObject: weekDay])
|
||||
continue;
|
||||
if ([newInfo objectForKey: @"startDate"])
|
||||
{
|
||||
weekDay = iCalWeekDayString[[[newInfo objectForKey: @"startDate"] dayOfWeek]];
|
||||
if ([enabledWeekDays count] && ![enabledWeekDays containsObject: weekDay])
|
||||
// Skip components that appear on disabled weekdays
|
||||
continue;
|
||||
}
|
||||
|
||||
if ([fields containsObject: @"viewable"])
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user