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>
Tue, 24 Jul 2012 17:25:17 +0000 (13:25 -0400)
commit6719477792f90c663cbe46aed7b3bc6344ce118e
tree19beed349e7604aa019e629491a6bdda937f8359
parent4e6f44ab34f1c53c7d462d6077f1073bd3ab40d1
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]