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:14:27 +0000 (09:14 -0400)
commitb0c85c31df44e962c0ecc87e08e067513d6c4825
treee9e55853e71fde09088b7e6b009afeb362b98ef1
parent5fd92464a3046a38806bcd88d5e82591494609e2
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]