mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-09 03:01:18 +02:00
commit
c647c97fe4
@ -87,7 +87,7 @@ To set the limit of items displayed in a paginated page use the `[api:PaginatedL
|
|||||||
public function PaginatedPagesLimit() {
|
public function PaginatedPagesLimit() {
|
||||||
$paginatedItems = new PaginatedList(Page::get(), $this->request);
|
$paginatedItems = new PaginatedList(Page::get(), $this->request);
|
||||||
$paginatedItems->setPageLength(4);
|
$paginatedItems->setPageLength(4);
|
||||||
return $pagination;
|
return $paginatedItems;
|
||||||
}
|
}
|
||||||
|
|
||||||
## Related
|
## Related
|
||||||
|
Loading…
Reference in New Issue
Block a user