Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/7261 #7351

Merged
merged 2 commits into from
Jun 5, 2024
Merged

Fix/7261 #7351

merged 2 commits into from
Jun 5, 2024

Conversation

UtechtDustin
Copy link
Collaborator

🤔Type of Request

  • Bug fix
  • New feature
  • Improvement
  • Documentation
  • Other

🔗Resolves an issue?

Fix #7261

📝Changelog
Fixed an error with the clear filters button and not enabled cookie extension.
Fixed an bug of the filter-control extension with enabled cookie extension (using localStoragE), which results in deletion of all bootstrap-table cookies.

  • Core
  • Extensions

💡Example(s)?

Fixed cookie deletion on disabled cookie extension (click the clear filters button and check console):
Before: https://live.bootstrap-table.com/code/UtechtDustin/17726
After: https://live.bootstrap-table.com/code/UtechtDustin/17727

Deletion of all bootstrap-table cookies (click the clear filters button and watch the localStorage entries):
Before: https://live.bootstrap-table.com/code/UtechtDustin/17724
After: https://live.bootstrap-table.com/code/UtechtDustin/17725

☑️Self Check before Merge

⚠️ Please check all items below before reviewing. ⚠️

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • Changelog is provided or not needed

@wenzhixin wenzhixin merged commit 9b46c4d into develop Jun 5, 2024
1 check passed
@wenzhixin wenzhixin deleted the fix/7261 branch June 5, 2024 00:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error when using localStorage with filter controls and cookies.
2 participants