When ISSN in record has hyphen, searching doesn't work

Description

Steps to repro:

  1. Log into folio-snapshot

  2. Go to inventory

  3. Search for ABA

  4. Open ABA journal

  5. Copy the ISSN: 0747-0088

  6. Search "All (Title, Contributor, Identifier)" for that ISSN

  7. Expected: Should return ABA Journal and it doesnt (Bug)

  8. Change search to search Identifier and search for the same ISSN

  9. Expected: Should return ABA Journal and it doesnt (Bug)

  10. Change search to search ISSN and search for the same ISSN

  11. Expected: Should return ABA Journal and it doesnt (Bug)

  12. 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

  13. 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

CSP Request Details

None

CSP Rejection Details

None

Potential Workaround

None

Attachments

3
  • 08 Jul 2019, 10:56 AM
  • 05 Jul 2019, 02:14 PM
  • 05 Jul 2019, 01:50 PM

Checklist

hide

TestRail: Results

Activity

Show:

Jakub Skoczen October 31, 2019 at 9:49 AM

Thanks!

Julian Ladisch October 30, 2019 at 10:54 AM

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

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 and Core platform!

FYI

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.

Done

Details

Assignee

Reporter

Priority

Sprint

Development Team

Prokopovych

Fix versions

TestRail: Cases

Open TestRail: Cases

TestRail: Runs

Open TestRail: Runs
Created July 5, 2019 at 1:31 PM
Updated March 9, 2022 at 9:10 PM
Resolved July 9, 2019 at 2:45 PM
TestRail: Cases
TestRail: Runs

Flag notifications