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

Fix facet filter crash #4769

Merged
merged 1 commit into from
Jan 16, 2025
Merged

Fix facet filter crash #4769

merged 1 commit into from
Jan 16, 2025

Conversation

cmdcolin
Copy link
Collaborator

Avoids crash where a user filters on a facet, and then performs a search

Fixes #4760

There might be a more principalled way of doing this because this PR ultimately hides all the facet filters entirely in this case, but it is better than a crash

@cmdcolin
Copy link
Collaborator Author

(note that I oversimplified my description above, it is a combination of user filtering on a facet, then performing a search that makes somehow the faceted list empty. this actually only happens rarely, and i haven't determined the exact combination of behaviors that causes the crash, but it is reproducible in the PAG demo instance)

@cmdcolin cmdcolin merged commit 86cefcd into main Jan 16, 2025
4 checks passed
@cmdcolin cmdcolin added the bug Something isn't working label Jan 16, 2025
@cmdcolin cmdcolin deleted the fix_facet_filter_crash2 branch January 16, 2025 16:38
@cmdcolin cmdcolin changed the title Facet filter crash Fix facet filter crash Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash in faceted selector
1 participant