diff options
author | Morris Jobke <hey@morrisjobke.de> | 2015-03-30 17:04:09 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2015-03-30 17:04:09 +0200 |
commit | bf17ac929d16b36a131ba9cec7abed304bb78abb (patch) | |
tree | ea46e51a6980b3856ec1d30688210b56d6293992 /lib/private/group | |
parent | 308a43a10e655008e4dc55446cae58f0eecc4e62 (diff) | |
parent | 4163a5efadd5984010d455c7cbd848bd17d5450d (diff) | |
download | nextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.tar.gz nextcloud-server-bf17ac929d16b36a131ba9cec7abed304bb78abb.zip |
Merge pull request #15169 from rullzer/fix_displayNamesInGroup
Groupmanagers displayNamesInGroup should actually search in displaynames
Diffstat (limited to 'lib/private/group')
-rw-r--r-- | lib/private/group/manager.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/group/manager.php b/lib/private/group/manager.php index 876068f4755..774a76a3063 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -267,7 +267,7 @@ class Manager extends PublicEmitter implements IGroupManager { } do { - $filteredUsers = $this->userManager->search($search, $searchLimit, $searchOffset); + $filteredUsers = $this->userManager->searchDisplayName($search, $searchLimit, $searchOffset); foreach($filteredUsers as $filteredUser) { if($group->inGroup($filteredUser)) { $groupUsers[]= $filteredUser; |