From adf478b4e9c1a333d8c3fb16b3c26addcffc70e9 Mon Sep 17 00:00:00 2001 From: Phill Price Date: Thu, 8 May 2014 21:46:30 +0100 Subject: [PATCH] Update pagination.md Eror in Limit example --- docs/en/howto/pagination.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/howto/pagination.md b/docs/en/howto/pagination.md index 457c2e38d..e30e1146b 100644 --- a/docs/en/howto/pagination.md +++ b/docs/en/howto/pagination.md @@ -87,7 +87,7 @@ To set the limit of items displayed in a paginated page use the `[api:PaginatedL public function PaginatedPagesLimit() { $paginatedItems = new PaginatedList(Page::get(), $this->request); $paginatedItems->setPageLength(4); - return $pagination; + return $paginatedItems; } ## Related