mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-08-28 17:57:38 +00:00
Monotone-Parent: 827061cfd7bb39eead69601b6015cb0ff6ebf1f1
Monotone-Revision: af017f174df00d4475a8c99168a6d994257a1ca8 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2012-04-13T14:02:30
This commit is contained in:
@@ -553,7 +553,7 @@ static NSNumber *sharedYes = nil;
|
||||
if ([title length])
|
||||
[baseWhere
|
||||
addObject: [NSString stringWithFormat: @"c_title isCaseInsensitiveLike: '%%%@%%'",
|
||||
[title stringByReplacingString: @"'" withString: @"''"]]];
|
||||
[title stringByReplacingString: @"'" withString: @"\\'\\'"]]];
|
||||
|
||||
if (component)
|
||||
{
|
||||
@@ -1150,7 +1150,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
|
||||
if ([title length])
|
||||
[baseWhere
|
||||
addObject: [NSString stringWithFormat: @"c_title isCaseInsensitiveLike: '%%%@%%'",
|
||||
[title stringByReplacingString: @"'" withString: @"''"]]];
|
||||
[title stringByReplacingString: @"'" withString: @"\\'\\'"]]];
|
||||
|
||||
if ([filters length])
|
||||
[baseWhere addObject: [NSString stringWithFormat: @"(%@)", filters]];
|
||||
|
||||
Reference in New Issue
Block a user