fix pager

This commit is contained in:
Simon Vieille 2022-09-06 13:52:12 +02:00
parent d487b604fa
commit 630359fc1b
Signed by: deblan
GPG key ID: 579388D585F70417
4 changed files with 4 additions and 4 deletions

View file

@ -39,7 +39,7 @@
category: category.id,
slug: category.slug
},
pages: pager.paginationData.endPage,
pages: pager.paginationData.pageCount,
currentPage: pager.paginationData.current
}) }}
{% endblock %}

View file

@ -59,7 +59,7 @@
{{ include('module/_pager.html.twig', {
route: _node.routeName,
routeParams: {},
pages: pager.paginationData.endPage,
pages: pager.paginationData.pageCount,
currentPage: pager.paginationData.current
}) }}
{% endblock %}

View file

@ -17,7 +17,7 @@
{{ include('module/_pager.html.twig', {
route: _node.routeName,
routeParams: {_domain: _domain},
pages: pager.paginationData.endPage,
pages: pager.paginationData.pageCount,
currentPage: pager.paginationData.current
}) }}
{% endblock %}

View file

@ -32,7 +32,7 @@
{{ include('module/_pager.html.twig', {
route: _node.routeName,
routeParams: {query: query, _domain: _domain},
pages: pager.paginationData.endPage,
pages: pager.paginationData.pageCount,
currentPage: pager.paginationData.current
}) }}
{% endblock %}