Skip to content

Commit

Permalink
changes done
Browse files Browse the repository at this point in the history
  • Loading branch information
axel committed Mar 15, 2021
1 parent a1ea48f commit 602a4ae
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Model/GrouperGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit 602a4ae

Please sign in to comment.