From 8f8a200496c05502b7b58929b85bd891d64df188 Mon Sep 17 00:00:00 2001 From: Diogo Freire Date: Fri, 6 Dec 2013 15:45:38 +1300 Subject: [PATCH] Updating SearchContext documentation PaginatedList::setPageSize and PaginatedList::setTotalSize don't exist. --- docs/en/reference/searchcontext.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/searchcontext.md b/docs/en/reference/searchcontext.md index f8e8bd1bf..5d66224bc 100644 --- a/docs/en/reference/searchcontext.md +++ b/docs/en/reference/searchcontext.md @@ -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;