Monotone-Parent: 1979e3cba1625ad972044ea67711850014bd8156

Monotone-Revision: 7cc314736d305ee7778315690bd8d1f0c506bef8

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2009-03-20T21:37:07
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau committed 2009-03-20 21:37:07 +00:00
1 parent 88176a049b
commit 007d1a966a
3 files changed
+22 -2

No files matched your search

+11 -1
View File
@@ -202,7 +202,17 @@ withSearchOn: (NSString *) contact
if ([searchText length] > 0)
{
//NSLog(@"Search all contacts: %@", searchText);
folders = [[self clientObject] subFolders];
NS_DURING
folders = [[self clientObject] subFolders];
NS_HANDLER
/* We need to specifically test for @"SOGoDBException", which is
raised explicitly in SOGoParentFolder. Any other exception should
be re-raised. */
if ([[localException name] isEqualToString: @"SOGoDBException"])
folders = nil;
else
[localException raise];
NS_ENDHANDLER
sortedFolders = [NSMutableArray arrayWithCapacity: [folders count]];
uniqueContacts = [NSMutableDictionary dictionary];
/* We first search in LDAP folders (in case of duplicated entries in GCS folders) */