Fix #1: Pagination resets filters #11
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/issue-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Move pagination logic to script and preserve filter query parameters (school_id, order_by, asc, per_page) when navigating between pages.
QueryParamsfield toPaginationstruct withpageURL()helperbuildListCoursesQueryParams()encodes active filters into pagination linkssetupPaginationLinks()intercepts pagination clicks, reads current filter state from DOM, builds full URLs preserving all parametersdata-paginated/data-base-url/data-current-pageattributes to pagination nav for JS targetingCloses #1
lgtm