fix: correct hx-vals JSON syntax for payments pagination
AS Talange CI/CD Pipeline / Build & Run Unit Tests (push) Successful in 4m42s
AS Talange CI/CD Pipeline / Deploy to Test Environment (push) Successful in 6m50s

This commit is contained in:
2026-07-17 23:41:20 +02:00
parent a19e49392b
commit e81be98cbe
@@ -142,7 +142,7 @@
hx-target="#paiements-table-container"
hx-select="#paiements-table-container"
hx-include="#filter-form"
th:attr="hx-vals=|{'page': ${currentPage - 1}}|"
th:attr="hx-vals=|{"page": ${currentPage - 1}}|"
class="px-3 py-1 border border-gray-300 rounded hover:bg-gray-100 transition-colors">
Précédent
</button>
@@ -157,7 +157,7 @@
hx-target="#paiements-table-container"
hx-select="#paiements-table-container"
hx-include="#filter-form"
th:attr="hx-vals=|{'page': ${pageNum}}|"
th:attr="hx-vals=|{&quot;page&quot;: ${pageNum}}|"
th:text="${pageNum + 1}"
class="px-3 py-1 rounded transition-colors"
th:classappend="${currentPage == pageNum ? 'bg-blue-600 text-white' : 'border border-gray-300 hover:bg-gray-100'}">
@@ -172,7 +172,7 @@
hx-target="#paiements-table-container"
hx-select="#paiements-table-container"
hx-include="#filter-form"
th:attr="hx-vals=|{'page': ${currentPage + 1}}|"
th:attr="hx-vals=|{&quot;page&quot;: ${currentPage + 1}}|"
class="px-3 py-1 border border-gray-300 rounded hover:bg-gray-100 transition-colors">
Suivant
</button>