When ISSN in record has hyphen, searching doesn't work
Description
CSP Request Details
CSP Rejection Details
Potential Workaround
Attachments
- 08 Jul 2019, 10:56 AM
- 05 Jul 2019, 02:14 PM
- 05 Jul 2019, 01:50 PM
defines
is blocked by
is cloned by
relates to
Checklist
hideTestRail: Results
Activity
Jakub Skoczen October 31, 2019 at 9:49 AM
@Julian Ladisch Thanks!
Julian Ladisch October 30, 2019 at 10:54 AM
@Jakub Skoczen This issue is about matching when the search string and the identifier string are the same and contain a hyphen. This works.
"0747 0088" and "0747-0088" are different strings and therefore a different requirement and out of this issue's scope. See https://github.com/folio-org/raml-module-builder/blob/af531e713922c1fd887c9c387d6325fd2af76946/README.md#cql-matching-full-text for tsvector word splitting. ISSN normalization can be similar to ISBN normalization, see https://folio-org.atlassian.net/browse/UIIN-647#icft=UIIN-647.
Jakub Skoczen October 29, 2019 at 7:04 PM
@Julian Ladisch I tried searching for ISSN = "0747 0088" and I don't see any results on folio-snapshot so I think there might be a regression and this problem is back. Didn't we fix this through RMB-438?
Cate Boerema July 9, 2019 at 2:45 PM
Fixed! Hooray! Thanks @Jakub Skoczen and Core platform!
FYI @Charlotte Whitt
Zak Burke July 8, 2019 at 4:18 PM
Yes RMB 26 is out, but the UI changes to UIIN that take advantage of it aren't in place yet. This will happen under https://folio-org.atlassian.net/browse/UIIN-618#icft=UIIN-618, which blocks this ticket.
Steps to repro:
Log into folio-snapshot
Go to inventory
Search for ABA
Open ABA journal
Copy the ISSN: 0747-0088
Search "All (Title, Contributor, Identifier)" for that ISSN
Expected: Should return ABA Journal and it doesnt (Bug)
Change search to search Identifier and search for the same ISSN
Expected: Should return ABA Journal and it doesnt (Bug)
Change search to search ISSN and search for the same ISSN
Expected: Should return ABA Journal and it doesnt (Bug)
Manually type in the ISSN and re-search just to make sure there aren't some hidden characters from the copy/paste interfering - No results
Remove the hyphen to see if that make a difference - nope
Expected:
If a record has ISSN of 0747-0088 and you search for that in "All (Title, Contributor, Identifier)", that record should be returned
If a record has ISSN of 0747-0088 and you search for that in Identifier, that record should be returned
If a record has ISSN of 0747-0088 and you search for that in ISSN, that record should be returned
Actual: Record not returned in any case
Additional information:
ABA also has another identifier (LCCN = 84641839) and searching for that in "All (Title, Contributor, Identifier)" and Identifier both return the correct result.
Temeraire has an ISSN with no hyphen and you can search by that using all the search limiters except ISSN (I'll file that separately)
CW: It's ISBN numbers (not ISSN)
Screencast: https://www.screencast.com/t/CKowVwoOT