From 5d30ed9ad1bfe6f6e43cd779b3decb73010d4499 Mon Sep 17 00:00:00 2001 From: voxsim Date: Thu, 26 Jun 2014 12:38:33 +0200 Subject: fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users --- lib/private/group/manager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/group') 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 -- cgit v1.2.3