Skip to content

Clean up search view dirty state#97038

Merged
JacksonKearl merged 3 commits intomasterfrom
jackson/clean-up-search-view-dirty-state
May 5, 2020
Merged

Clean up search view dirty state#97038
JacksonKearl merged 3 commits intomasterfrom
jackson/clean-up-search-view-dirty-state

Conversation

@JacksonKearl
Copy link
Copy Markdown
Contributor

@JacksonKearl JacksonKearl commented May 5, 2020

This PR fixes #96851

Looking more into it, I think the search should be dirty any time any result has been removed, but only if the view still has items.

This also fixes a bug in the old fix whereby if you deleted a result then cleared all the results, the model would still be in the dirty state.

cc @roblourens reverted the commits from #96803

@JacksonKearl JacksonKearl changed the title Jackson/clean up search view dirty state Clean up search view dirty state May 5, 2020
@JacksonKearl JacksonKearl merged commit b2d0785 into master May 5, 2020
@JacksonKearl JacksonKearl deleted the jackson/clean-up-search-view-dirty-state branch May 5, 2020 22:34
@github-actions github-actions bot locked and limited conversation to collaborators Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Clean up search view modified detection logic

2 participants