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

reset pageFilter when the model changes #6511

Merged
merged 4 commits into from
Apr 2, 2019
Merged

Conversation

meirish
Copy link
Contributor

@meirish meirish commented Apr 1, 2019

Currently when navigating secrets via the filter input, the pageFilter query param is "sticky" - while this is the default behavior in Ember, this can be surprising when you are redirected or navigate to a list, only to find that a filter is still applied.

This PR changes the secret list routes so that pageFilter gets reset when the model changes resulting in unfiltered lists when when navigating through the tree.

@meirish meirish added this to the 1.1.1 milestone Apr 1, 2019
@meirish meirish requested review from a team April 1, 2019 17:01
@meirish meirish force-pushed the ui-reset-pageFilter branch from edd2b9c to 0529fae Compare April 2, 2019 02:52
@meirish meirish marked this pull request as ready for review April 2, 2019 02:52
@meirish meirish force-pushed the ui-reset-pageFilter branch from 1ad02f2 to e933625 Compare April 2, 2019 13:22
Copy link
Contributor

@madalynrose madalynrose left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test looks great!

@meirish meirish merged commit e67573a into master Apr 2, 2019
@meirish meirish deleted the ui-reset-pageFilter branch April 2, 2019 16:27
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.

2 participants