Angular catalog - Advanced Search with OR and AND Yields Erroneous Results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
The Angular catalog groups advanced search terms differently than the traditional catalog
To reproduce this on a master Concerto system:
Set the library setting "GUI: Enable Traditional Staff Catalog" to TRUE
- Navigate to Cataloging - Search the Catalog (Traditional)
- Perform the following search:
- keyword: symphony
- Or keyword: concerto
- And keyword: Tchaikovsky
Note that there are 4 hits
The search appearing in the resulting search box is:
((symphony || keyword:concerto) && keyword:
- Navigate to Cataloging - Search the Catalog
- Perform the same search as above in the Angular catalog
Note that there are 25 hits
Though not visible on the screen, logs show the search as:
((keyword:symphony) || (keyword:concerto) && (keyword:
Adding another OR term:
Traditional catalog:
(((symphony || keyword:concerto) || keyword:score) && keyword:
Angular catalog:
((keyword:symphony) || (keyword:concerto) || (keyword:score) && (keyword:
Scoping similar searches also yields erroneous results in the Angular catalog. This was described in the following comments on bug 1929072:
https:/
https:/
https:/
1929072 was resolved in bug 1746800, I've moved Shannon Dineen's and Jennifer Pringle's reports here.
Also relevant is bug 1152863 - Support for traditional boolean operators.
I think we're seeing this in the angular catalogue in 3.9.1. When AND and OR is used in a search the search results don't scope to the selected library but show results from the entire consortium instead.