pagination does work

This commit is contained in:
Zakharov_Rostislav 2024-06-10 17:39:34 +04:00
parent 03044bd5a3
commit 444728c8fc

View File

@ -48,8 +48,7 @@
</nav>
</th:block>
<th:block th:fragment="pagination-with-params
(url, totalPages, currentPage, param1name, param1value, param2name, param2value)">
<th:block th:fragment="pagination-with-params (url, totalPages, currentPage, param1name, param1value, param2name, param2value)">
<nav th:if="${totalPages > 1}" th:with="
maxPage=2,
currentPage=${currentPage + 1}">