Skip to content

fix(web): resolve URL sync issues on datatable filter clear#37

Merged
masmuss merged 1 commit into
mainfrom
fix/datatable-url-sync
Jun 14, 2026
Merged

fix(web): resolve URL sync issues on datatable filter clear#37
masmuss merged 1 commit into
mainfrom
fix/datatable-url-sync

Conversation

@masmuss

@masmuss masmuss commented Jun 14, 2026

Copy link
Copy Markdown
Owner

This pull request improves the URL synchronization logic for filters in the createTableState function. The main change ensures that any stale filter parameters are removed from the URL before setting the currently active filter values. This prevents outdated filter values from lingering in the URL.

Improvements to filter URL synchronization:

  • Updated the filter sync logic in table-state.svelte.ts to first remove all filter-related parameters (except those in excludeKeys) from the URL, then set only the currently active filters. This prevents stale filter parameters from persisting in the URL.

@masmuss masmuss merged commit 25e336b into main Jun 14, 2026
2 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 1.2.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant