mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-05-20 19:05:25 +00:00
feature(contact): Show 100 first results for global address book. Fix commit #17eca6f
This commit is contained in:
@@ -1412,7 +1412,7 @@ groupObjectClasses: (NSArray *) newGroupObjectClasses
|
||||
|
||||
contacts = [NSMutableArray array];
|
||||
|
||||
if (!_listRequiresDot)
|
||||
if ([match length] > 0 || !_listRequiresDot)
|
||||
{
|
||||
ldapConnection = [self _ldapConnection];
|
||||
qualifier = [self _qualifierForFilter: match onCriteria: criteria];
|
||||
|
||||
@@ -951,7 +951,7 @@
|
||||
|
||||
results = [NSMutableArray array];
|
||||
|
||||
if (!_listRequiresDot)
|
||||
if ([filter length] > 0 || !_listRequiresDot)
|
||||
{
|
||||
cm = [GCSChannelManager defaultChannelManager];
|
||||
channel = [cm acquireOpenChannelForURL: _viewURL];
|
||||
|
||||
Reference in New Issue
Block a user