See ChangeLog

Monotone-Parent: cf113a40bd52153bf7981b492915e149294e2c84
Monotone-Revision: f68bc0f7c4af372fd5c49f8961ad1605dd875d1f

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2008-12-30T19:48:33
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Ludovic Marcotte
2008-12-30 19:48:33 +00:00
parent f6a0ae15c8
commit 28aeaa6fee
10 changed files with 20 additions and 1040 deletions
@@ -1,6 +1,6 @@
/*
Copyright (C) 2004-2005 SKYRIX Software AG
Copyright (C) 2007-2008 Inverse inc.
Copyright (C) 2004-2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
@@ -968,7 +968,8 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
if ([title length])
titleSqlString = [NSString stringWithFormat: @"AND (c_title"
@" isCaseInsensitiveLike: '%%%@%%')", title];
@" isCaseInsensitiveLike: '%%%@%%')",
[title stringByReplacingString: @"'" withString: @"\\'\\'"]];
else
titleSqlString = @"";
@@ -2267,7 +2268,7 @@ firstInstanceCalendarDateRange: (NGCalendarDateRange *) fir
infos = [[NSArray alloc] initWithObjects: @"c_partmails", @"c_partstates",
@"c_isopaque", @"c_status", @"c_cycleinfo", @"c_orgmail", nil];
// We MUST include the protected information whenc checking for freebusy info as
// We MUST include the protected information when checking for freebusy info as
// we rely on the c_partmails/c_partstates fields for many operations.
return [self fetchFields: infos
from: _startDate to: _endDate
@@ -1,4 +1,5 @@
/*
Copyright (C) 2006-2009 Inverse inc.
Copyright (C) 2004-2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
@@ -215,6 +216,7 @@
if (filter && [filter length] > 0)
{
filter = [filter stringByReplacingString: @"'" withString: @"\\'\\'"];
qs = [NSString stringWithFormat:
@"(c_sn isCaseInsensitiveLike: '%@%%') OR "
@"(c_givenname isCaseInsensitiveLike: '%@%%') OR "
+1
View File
@@ -1,4 +1,5 @@
/*
Copyright (C) 2006-2009 Inverse inc.
Copyright (C) 2005 SKYRIX Software AG
This file is part of OpenGroupware.org.
+1
View File
@@ -1,4 +1,5 @@
/*
Copyright (C) 2006-2009 Inverse inc.
Copyright (C) 2005 SKYRIX Software AG
This file is part of OpenGroupware.org.