fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users

This commit is contained in:
voxsim 2014-06-26 12:38:33 +02:00
parent 1822bba5e9
commit 5d30ed9ad1
1 changed files with 1 additions and 1 deletions

View File

@ -209,7 +209,7 @@ class Manager extends PublicEmitter {
return array();
}
// only user backends have the capability to do a complex search for users
$groupUsers = $group->searchUsers('', $limit, $offset);
$groupUsers = $group->searchUsers('');
$search = trim($search);
if(!empty($search)) {
//TODO: for OC 7 earliest: user backend should get a method to check selected users against a pattern