Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merged feature/ICPCO-110 into develop
axel committed Mar 15, 2021
2 parents a1ea48f + 602a4ae commit 9d2c8c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Model/GrouperGroup.php
@@ -571,6 +571,11 @@ private function paginateRecords(array $recSet, array $conditions) {
//set for pagination record count
$this->totalRecords = count($recSet);

//Return all, if requested
if (strtolower($conditions['limit']) == 'all') {
return $recSet;
}

//Now slice recordset to return correct set of records.
$page = $conditions['page'] - 1;
$limit = $conditions['limit'];

0 comments on commit 9d2c8c7

Please sign in to comment.