summaryrefslogtreecommitdiffstats
path: root/lib/private/group
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-03-30 17:04:09 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-03-30 17:04:09 +0200
commitbf17ac929d16b36a131ba9cec7abed304bb78abb (patch)
treeea46e51a6980b3856ec1d30688210b56d6293992 /lib/private/group
parent308a43a10e655008e4dc55446cae58f0eecc4e62 (diff)
parent4163a5efadd5984010d455c7cbd848bd17d5450d (diff)
downloadnextcloud-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.php2
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;