summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvoxsim <Simon Vocella>2014-06-26 12:38:33 +0200
committervoxsim <Simon Vocella>2014-06-26 12:38:33 +0200
commit5d30ed9ad1bfe6f6e43cd779b3decb73010d4499 (patch)
tree87732a7ce924c22ac3c4a74e9ad3c3b3ff13ee13
parent1822bba5e941862323117e2625361098ce729155 (diff)
downloadnextcloud-server-5d30ed9ad1bfe6f6e43cd779b3decb73010d4499.tar.gz
nextcloud-server-5d30ed9ad1bfe6f6e43cd779b3decb73010d4499.zip
fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users
-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 3613c7547bd..942bdbb91c2 100644
--- a/lib/private/group/manager.php
+++ b/lib/private/group/manager.php
@@ -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