mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #2705 from ditorelo/patch-1
Updating SearchContext documentation
This commit is contained in:
commit
999af8d9cf
@ -102,8 +102,8 @@ in order to read page limit information. It is also passed the current
|
||||
if($records) {
|
||||
$records = new PaginatedList($records, $this->request);
|
||||
$records->setPageStart($start);
|
||||
$records->setPageSize($limit);
|
||||
$records->setTotalSize($query->unlimitedRowCount());
|
||||
$records->setPageLength($limit);
|
||||
$records->setTotalItems($query->unlimitedRowCount());
|
||||
}
|
||||
|
||||
return $records;
|
||||
|
Loading…
Reference in New Issue
Block a user