diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:35:44 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2015-03-24 21:35:44 +0100 |
commit | abfb524b2901516048d9bd909fe6fd809a591f27 (patch) | |
tree | a4fb610d2cf8bf649c103b7af55cd13223d94060 | |
parent | 1bd141b65511983326f0076b676b14e1528ddd65 (diff) | |
download | nextcloud-server-abfb524b2901516048d9bd909fe6fd809a591f27.tar.gz nextcloud-server-abfb524b2901516048d9bd909fe6fd809a591f27.zip |
When searching for displayname then search for displayname
-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 e7ba3ac3750..d8e69197849 100644 --- a/lib/private/group/manager.php +++ b/lib/private/group/manager.php @@ -247,7 +247,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; |