frx 6d1f526394 fix(issue-1): Pagination resets filters
Move pagination logic to preserve filter query parameters (school_id,
order_by, asc, per_page) when navigating between pages.

- Added QueryParams field to Pagination struct and pageURL() helper
- Server-side: buildListCoursesQueryParams() encodes active filters into
  pagination links as query string
- Client-side: setupPaginationLinks() intercepts pagination link clicks,
  reads current filter state from DOM selects, and constructs full URLs
  with all parameters preserved
- Added data-paginated/data-base-url/data-current-page attributes to
  pagination nav for JS targeting

Closes #1
2026-07-03 16:16:39 +00:00
2024-06-16 23:55:49 +03:00
2024-01-11 11:55:37 +03:00
2024-04-11 10:33:14 +03:00
2024-09-25 00:47:12 +03:00
2024-03-24 16:51:39 +03:00
2026-07-03 16:16:39 +00:00
2026-07-03 16:16:39 +00:00
2023-11-22 01:12:04 +03:00
Description
No description provided
1.2 MiB
Languages
Go 84.4%
HTML 7.8%
templ 7.1%
Dockerfile 0.7%