]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP#1576727: Delimit bib CN subfields with a space
authorMike Rylander <mrylander@gmail.com>
Fri, 29 Apr 2016 19:30:17 +0000 (15:30 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 May 2018 18:30:32 +0000 (14:30 -0400)
commit5920f3f1f7a6cc219df409827ac95977945e9a07
tree92814a79727ab17af342d5fc7f9f3b296d677545
parent3cc70dc3bb996210d326feb7f275ae5ffd7627a9
LP#1576727: Delimit bib CN subfields with a space

When suggested call numbers are pulled from a bib record, space delimiters are
dropped.  This is bad for noralization routines.  Now we will forcibly inject
a space between subfield values.

Also included are two small optimizations: exit early if no nodes are found
for a particular bib CN definition; use map+join instead of a for loop and
blind substring trim to stitch together an xpath expression.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Signed-off-by: Cesar Velez <cesar.velez@equinoxinitiative.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Cat.pm