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

Added document sets to search attempts for #3775 #3781

Merged
merged 2 commits into from
Sep 12, 2023

Conversation

sylvieed
Copy link
Collaborator

@sylvieed sylvieed commented Sep 12, 2023

Resolves #3775, continues #3679

This adds a document_set_id field to SearchAttempts so that any document sets that are searched on are not coerced into the
collection field. In result, this fixes the bug where searching on a document set can redirect to a search on the collection with the same ID or slug.
Some of the search attempt logic was also cleaned up & simplified in the process 😊

@benwbrum benwbrum merged commit 7a201d3 into development Sep 12, 2023
1 check passed
@benwbrum benwbrum deleted the 3775-search-docset-bug branch September 12, 2023 16:38
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.

Search returns wrong collection
2 participants