mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
adding twig extensions to select how many items per page
* twig anchor: {{ chill_items_per_page(pagination) }} * select field changed with javascript event listener
This commit is contained in:
@@ -61,7 +61,7 @@ class PaginatorFactory
|
||||
public function __construct(
|
||||
RequestStack $requestStack,
|
||||
RouterInterface $router,
|
||||
$itemPerPage = 50
|
||||
$itemPerPage = 20
|
||||
) {
|
||||
$this->itemPerPage = $itemPerPage;
|
||||
$this->requestStack = $requestStack;
|
||||
|
Reference in New Issue
Block a user