mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
Monotone-Parent: 1ed4bccebed155143bf812c74cb29f69ccb51f7d
Monotone-Revision: 38830b89dba3fbe47ce03c0a4617768116eda22b Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-26T20:19:37 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -243,6 +243,7 @@
|
||||
}
|
||||
|
||||
- (NSArray *) lookupContactsWithFilter: (NSString *) filter
|
||||
onCriteria: (NSString *) criteria
|
||||
sortBy: (NSString *) sortKey
|
||||
ordering: (NSComparisonResult) sortOrdering
|
||||
{
|
||||
@@ -251,7 +252,7 @@
|
||||
|
||||
result = nil;
|
||||
|
||||
if (filter && [filter length] > 0)
|
||||
if ([filter length] > 0 && [criteria isEqualToString: @"name_or_address"])
|
||||
{
|
||||
records = [source fetchContactsMatching: filter];
|
||||
[childRecords setObjects: records
|
||||
|
||||
Reference in New Issue
Block a user