]> git.evergreen-ils.org Git - contrib/Conifer.git/commit
LP#1722827: trim spaces from 856$9 when parsing locating URIs
authorRogan Hamby <rogan.hamby@gmail.com>
Fri, 14 Sep 2018 14:48:02 +0000 (10:48 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 6 Aug 2019 00:34:37 +0000 (20:34 -0400)
commit90a14c48e275b32bdf088b98ad41707b464bd939
tree1959ee7a4b5b12a2c61797e34d07417ef96feb93
parent8403ec3095c79df46029ff16de05b39b0bb59a74
LP#1722827: trim spaces from 856$9 when parsing locating URIs

This patch ensures that any leading and trailing spaces
and non-breaking-spaces in the 856$9 are ignored when
extracting the org unit shortname. As a consequence,
extraneous leading/trailing whitespace in the $9 will not
prevent the located URI from being displayed in the appropriate
places.

Signed-off-by: Rogan Hamby <rogan.hamby@gmail.com>
Signed-off-by: Meg Stroup <mstroup@statelibrary.sc.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/sql/Pg/030.schema.metabib.sql
Open-ILS/src/sql/Pg/t/lp1722827_trim_spaces_from_located_uris.pg [new file with mode: 0644]
Open-ILS/src/sql/Pg/upgrade/xxxx.metabib.trim_spaces_from_located_uris.sql [new file with mode: 0644]