Commit Graph

10 Commits

Author SHA1 Message Date
812d38c8f1 adds 2026-02-08 14:20:18 +01:00
2dfe0a48ea fix(pagination): update URL on pagination and search
This commit addresses two issues with pagination and search:

1.  **Pagination URL Update**: Added `hx-push-url` to pagination buttons in the customer, order, and invoice list templates. This ensures the browser URL and history are updated when navigating pages via HTMX. The query parameters for `status` and `search` are now conditionally included, preventing empty parameters (e.g., `&status=`) in the URL.

2.  **Search URL Reset**: Updated the `CustomerList` handler to send the `HX-Push-Url` header when performing a search via HTMX. This ensures that when a search is executed (or cleared), the URL correctly reflects the new state (reseting the page to 1), fixing a mismatch where the URL could show page 4 while the content was reset to page 1.
2026-02-07 10:19:32 +01:00
aa3b63095c adds pagination 2026-02-07 07:47:20 +01:00
7f1ea8ba72 Adds seed script 2026-02-06 19:21:32 +01:00
37b45ee4db fixes menu 2026-02-06 19:18:55 +01:00
656333275b adds 2026-02-06 19:14:13 +01:00
c51da2a965 Fixes journentry bug 2026-02-06 18:49:42 +01:00
3cfa8d7618 adds 2026-02-06 18:41:43 +01:00
88ddf4c043 changes port 2026-02-06 18:34:07 +01:00
5530cfcdfd inital commit 2026-02-06 17:35:29 +01:00