-
Notifications
You must be signed in to change notification settings - Fork 2
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
Full shelfmark search for multiple shelfmarks not working in admin #1498
Comments
@kseniaryzhova Testing to figure this out, it seems it may be because the
gets parsed as
and since the default operator is AND when unspecified, that fully evaluates to:
That's why you're getting unexpected results; all this is really saying is "search for all documents with In that case, the correctly formed query would be:
which does result in the two expected results, plus the one that mentions one in the description. OK to close since that seems to bring up the expected results? |
@blms Not closing because this solution only works for two T-S shelfmarks, but not if it's shelfmarks from more than one collection. |
And if you need both shelfmarks for a join and it's in different collections, then you still can't bring both together to merge them in admin. |
@kseniaryzhova I would write that query as
Does the |
@blms no it does cover it, ok! I'll let Marina know! Closing! |
Describe the bug
Entering more than one shelfmark into the admin search gives 0 results (even if both shelfmarks are confirmed to be in the database). This means we can't search by shelfmarks to form joins. Inputting the one shelfmark into the other's description will also only pull up one result in the shelfmark search, and not the second shelfmark.
To reproduce
Steps to reproduce the behavior:
Expected behavior
I should be able to enter more than one shelfmark at a time into the admin document search bar and receive the correct search results.
Device information
Malfunctioning on both PC and Mac devices.
The text was updated successfully, but these errors were encountered: