Use limit and offset
This commit is contained in:
parent
d5b26e682c
commit
202f1215aa
|
@ -133,7 +133,7 @@ class UsersController extends Controller {
|
|||
if($gid !== '') {
|
||||
$batch = $this->getUsersForUID($this->groupManager->displayNamesInGroup($gid, $pattern, $limit, $offset));
|
||||
} else {
|
||||
$batch = $this->userManager->search('');
|
||||
$batch = $this->userManager->search('', $limit, $offset);
|
||||
}
|
||||
|
||||
foreach ($batch as $user) {
|
||||
|
|
Loading…
Reference in New Issue