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

Fixed: issue in filter option persistence and field overridden issue in filter and sort options(#146) #151

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

ymaheshwari1
Copy link
Contributor

Related Issues

Related Issue #146

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

… the rules page(hotwax#146)

When creating multiple rules and saving their filters at once, and if moving to the route page and again coming to the rules page, it displays the data from the state instead of fetching the latest information, thus added an action to clear the rules once the page is left so that always the latest information for the rules is fetched
When having same fieldName in sort and filter options and adding/removing that field in both filter and sort, then always the sort option is honored and the filter option is ignored, as the filter field key gets overridden by the sort key inside the object.
Updated the keys after finding the diff to include filter and sort string in the respective options, to handle the override property issue.
@ymaheshwari1 ymaheshwari1 merged commit 5379187 into hotwax:main Apr 3, 2024
2 checks passed
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.

1 participant