From a1c6a6676e3ef95f7574d1f0781267fbb34d15aa Mon Sep 17 00:00:00 2001 From: ethoms Date: Wed, 4 Nov 2015 07:37:34 +0800 Subject: [PATCH] Update UIxCalListingActions.m --- UI/Scheduler/UIxCalListingActions.m | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/UI/Scheduler/UIxCalListingActions.m b/UI/Scheduler/UIxCalListingActions.m index 9e6a5bf81..fe3faadc1 100644 --- a/UI/Scheduler/UIxCalListingActions.m +++ b/UI/Scheduler/UIxCalListingActions.m @@ -400,11 +400,11 @@ static NSArray *tasksFields = nil; else if ([criteria isEqualToString:@"entireContent"]) { // First search : Through the quick table inside the location, category and title columns - quickInfos = [[currentFolder fetchCoreInfosFrom: startDate + quickInfos = (NSMutableArray *)[currentFolder fetchCoreInfosFrom: startDate to: endDate title: value component: component - additionalFilters: criteria] mutableCopy]; + additionalFilters: criteria]; // Save the c_name in another array to compare with if ([quickInfos count] > 0) @@ -416,10 +416,10 @@ static NSArray *tasksFields = nil; } // Second research : Every objects except for those already in the quickInfos array - allInfos = [[currentFolder fetchCoreInfosFrom: startDate + allInfos = (NSMutableArray *)[currentFolder fetchCoreInfosFrom: startDate to: endDate title: nil - component: component] mutableCopy]; + component: component]; if (quickInfosFlag == YES) { for (i = ([allInfos count] - 1); i >= 0 ; i--) {