Skip to content

Conversation

dmackdev
Copy link
Owner

@dmackdev dmackdev commented Jul 16, 2025

A bug was introduced in #44 whereby when using the DefaultExpand::SearchResultsOrAll("") setting and changing the search term between empty and a search term that matched nothing, not all arrays/objects were being expanded.
This was due to not traversing the entire JSON value and capturing all JSON path IDs in the DefaultExpand::SearchResultsOrAll("") case, so not all arrays/objects had their open/closed state reset.

@dmackdev dmackdev changed the title fix resetting expanded for DefaultExpand::SearchResultsOrAll("") fix resetting expanded for DefaultExpand::SearchResultsOrAll("") Jul 16, 2025
@dmackdev dmackdev merged commit 1be1cf0 into master Jul 16, 2025
2 checks passed
@dmackdev dmackdev deleted the fix-searchresultsorall-reset-expanded branch July 16, 2025 18:44
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