mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-02-17 07:33:57 +00:00
Fix calls to fetchContactsMatching:
This commit is contained in:
@@ -100,7 +100,7 @@
|
||||
currentFilter = [filters objectAtIndex: count];
|
||||
contacts =
|
||||
[[(id<SOGoContactFolder>)self lookupContactsWithFilter: [[currentFilter allValues] lastObject]
|
||||
onCriteria: @"name_or_address"
|
||||
onCriteria: nil
|
||||
sortBy: @"c_givenname"
|
||||
ordering: NSOrderedDescending
|
||||
inDomain: domain] objectEnumerator];
|
||||
|
||||
@@ -1205,6 +1205,7 @@ static Class NSNullK;
|
||||
currentSource = [_sources objectForKey: sourceID];
|
||||
[contacts addObjectsFromArray:
|
||||
[currentSource fetchContactsMatching: filter
|
||||
withCriteria: nil
|
||||
inDomain: domain]];
|
||||
}
|
||||
|
||||
|
||||
@@ -270,7 +270,7 @@ Class SOGoContactSourceFolderKlass = Nil;
|
||||
filter = @".";
|
||||
resultEntries
|
||||
= [folder lookupContactsWithFilter: filter
|
||||
onCriteria: @"name_or_address"
|
||||
onCriteria: nil
|
||||
sortBy: @"c_cn"
|
||||
ordering: NSOrderedAscending
|
||||
inDomain: nil];
|
||||
|
||||
Reference in New Issue
Block a user