Merge pull request #2705 from ditorelo/patch-1

Updating SearchContext documentation
This commit is contained in:
Will Rossiter 2013-12-05 18:53:42 -08:00
commit 999af8d9cf

View File

@ -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;