]> git.evergreen-ils.org Git - Evergreen.git/commit
lp1028514: fix regex replace in maintain_901()
authorGalen Charlton <gmc@esilibrary.com>
Tue, 24 Jul 2012 15:51:52 +0000 (11:51 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 27 Jul 2012 13:32:06 +0000 (09:32 -0400)
commit7a96a8e30f13c153593b560fafa100a2db1d3dfc
tree9f193bef8e562351d36d3210a59ee5eb3276d1db
parent132ab5633eeb54ee1731870d8aacd484f3a461dc
lp1028514: fix regex replace in maintain_901()

The regex used to insert the 901 field can put the new
field in the wrong location if the MARCXML record being
modified uses namespace prefixes.  This patch tightens
the regexp to avoid this problem.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/002.functions.config.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.fix_maintain_901_regex.sql [new file with mode: 0644]