]> 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)
committerDan Scott <dscott@laurentian.ca>
Sat, 28 Jul 2012 22:01:02 +0000 (18:01 -0400)
commitb6e19563b0cfb7da2bfb73d3199b86678e5188ab
tree795afe5f435ff18c5d6a90018442f83e9aebf211
parent43dbf993a9a0a01c2a5a7948750accb2a2727541
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]