mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-07-05 16:35:10 +00:00
Monotone-Parent: 0b8453c1e1ca97f10acca6a72c72e8f6b29907d6
Monotone-Revision: 08e8d0fb761a61568f208c502269083b0b66bb25 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-01-18T22:59:43 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-01-18 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoFolder+CardDAV.m ([SOGoFolder
|
||||
-davAddressbookQuery:queryContext]): when empty values are fed to
|
||||
SOGo, their dictionary should be explicitly set to nil.
|
||||
|
||||
2008-01-16 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/SOGoCache.m ([SOGoCache
|
||||
|
||||
@@ -95,14 +95,17 @@
|
||||
[self _isValidFilter: [filterElement attribute: @"name"]])
|
||||
{
|
||||
ranges = [filterElement getElementsByTagName: @"text-match"];
|
||||
|
||||
if ([(NSArray *)ranges count] && [(NSArray *)[[ranges objectAtIndex: 0] childNodes] count])
|
||||
|
||||
if ([(NSArray *)ranges count]
|
||||
&& [(NSArray *)[[ranges objectAtIndex: 0] childNodes] count])
|
||||
{
|
||||
filterData = [NSMutableDictionary new];
|
||||
[filterData autorelease];
|
||||
[filterData setObject: [[(NSArray *)[[ranges objectAtIndex: 0] childNodes] lastObject] data]
|
||||
forKey: [filterElement attribute: @"name"]];
|
||||
}
|
||||
else
|
||||
filterData = nil;
|
||||
}
|
||||
else
|
||||
filterData = nil;
|
||||
|
||||
Reference in New Issue
Block a user