-
Notifications
You must be signed in to change notification settings - Fork 219
Active Filters block: Clear All button work with all types of permalink settings. #6315
Conversation
Size Change: +42 B (0%) Total Size: 869 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change works as expected. Although I may have found an unrelated bug:
With the Plain
permalink option active. Can you check if the Filter by Attribute block is working as expected when there are some active Filter by Price and Filter by Stock filters?
This is an unrelated bug to this PR, and we may need to create a separate issue for this.
It's working for me. Can you share the reproduce steps? But I found another issue: after choosing an attribute, the page reloads two times instead of one. This doesn't relate to the permalink setting. Screen.Recording.2022-04-26.at.16.14.03.mov |
Fixes #6306
This PR updates the Clear All button to not simply redirector to the base URL. Instead, the Clear All button now removes only query args related to product filters. This makes the Clear All button work with plain URLs.
Testing
Automated Tests
Manual Testing
How to test the changes in this Pull Request:
Plain
.User Facing Testing
These are steps for user testing (where "user" is someone interacting with this change that is not editing any code).