MARC authority app > New search option: LCCN
Description
Environment
Potential Workaround
Attachments
has to be done before
relates to
Checklist
hideTestRail: Results
Activity

Khalilah Gambrell November 27, 2023 at 3:06 PM
Ahh okay . Then the ability to search with/without spaces can be handled in Christine's normalization requirements then.

Valery_Pilko November 27, 2023 at 2:59 PM
Hey
Thank you!
All good about exact match for the 010 $a / 010 $z
But search by "naturalID" field was not added to search query in scope of current ticket.
Example of used search query: "lccn="test"

Khalilah Gambrell November 27, 2023 at 2:42 PM
Hey - I believe is writing a requirement to support normalizing LCCN search to support these various scenarios for "Q" release.
For this story - I expect the user to select this search option and it is an exact match to what is stored for the 010 $a / 010 $z or what is stored as the naturalID.

Valery_Pilko November 23, 2023 at 1:55 PM
Hi and
was resolved, so now we can deal with this requirement "Trim leading and trailing spaces."
Looks like requirements for "LCCN" search option should be: "MARC authority record should be found using a query without spaces when "LCCN" (010 $a or $z) has (leading, internal, trailing) spaces".
For example:
LCCN in 010 $a "n 79066095" - one prefix between prefix and value
Users should be able to find an exact match with the following queries:
"n 79066095" (all spaces included)
"n79066095" (removing space between the prefix and the number)
LCCN in 010 $a "n 79066095" - two spaces between prefix and value
Users should be able to find an exact match with the following queries:
"n 79066095" (all spaces included)
"n79066095" (removing space between the prefix and the number)
Question: Should user find record with query which has only 1 space? - "n 79066095"
LCCN in 010 $a " n 79066095 " - one leading, one internal, one trailing space
Users should be able to find an exact match with the following queries:
" n 79066095 " (all spaces included)
"n79066095" (removing space between the prefix and the number)
Question: Should user find record with query which has only 1 space? - "n 79066095" or " n79066095"
FYI: looks like trim of leading and trailing spaces already supported. See screenshot:
So,
Could you please summarize it and create a story in mod-search project?

Khalilah Gambrell November 9, 2023 at 12:07 PMEdited
Hey . For this requirement, LCCN only searches what is stored in 010 $a and 010 $z. We need a mod-search requirement to search LCCN with all spaces removed (leading, internal, trailing) that it would still return an exact match.
Details
Assignee
Dmytro MelnyshynDmytro MelnyshynReporter
Khalilah GambrellKhalilah GambrellLabels
Priority
P3Story Points
2Development Team
SpitfireFix versions
Release
Quesnelia (R1 2024)TestRail: Cases
Open TestRail: CasesTestRail: Runs
Open TestRail: Runs
Details
Details
Assignee

Reporter

Assumption: MARC authority app already supports a LCCN search option based on documentation https://github.com/folio-org/mod-search/blob/master/README.md#authority-search-options
Requirements
Display a new search option called LCCN
Display a new search option below Identifier (all) search option
This new search option should display
MARC authority app including Advanced search modal
Select a MARC authority record plug-in
User must be able to find a MARC authority record by LCCN (010 $a and 010 $z) that exist in record. It is an exact match.
Trim leading and trailing spaces.