Fix page links

This commit is contained in:
Dave Syer 2021-11-19 13:34:47 +00:00
parent b45f5be820
commit 3eba970fff
2 changed files with 2 additions and 2 deletions

View file

@ -32,7 +32,7 @@
<span>Pages:</span>
<span>[</span>
<span th:each="i: ${#numbers.sequence(1, totalPages)}">
<a th:if="${currentPage != i}" th:href="@{'/owners/' + ${i}}">[[${i}]]</a>
<a th:if="${currentPage != i}" th:href="@{'/owners/?page=' + ${i}}">[[${i}]]</a>
<span th:unless="${currentPage != i}">[[${i}]]</span>
</span>
<span>]&nbsp;</span>

View file

@ -28,7 +28,7 @@
<span>Pages:</span>
<span>[</span>
<span th:each="i: ${#numbers.sequence(1, totalPages)}">
<a th:if="${currentPage != i}" th:href="@{'/vets/' + ${i}}">[[${i}]]</a>
<a th:if="${currentPage != i}" th:href="@{'/vets.html/?page=' + ${i}}">[[${i}]]</a>
<span th:unless="${currentPage != i}">[[${i}]]</span>
</span>
<span>]&nbsp;</span>