From 241e4b4368b9db80536b21f913fe1221b7eecf33 Mon Sep 17 00:00:00 2001 From: dbs Date: Wed, 14 Jul 2010 15:14:01 +0000 Subject: [PATCH] Set the 004 of the new MFHD record to the ID of the targeted bib record git-svn-id: svn://svn.open-ils.org/ILS/trunk@16930 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Cat.pm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm index abb7f3e005..7164a9ef41 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Cat.pm @@ -925,7 +925,20 @@ sub create_serial_record_xml { # The goal is to generate common patterns for the caller in the UI that # then get passed in here. if (!$xml) { - $xml = " 00307ny a22001094 4500 42153 20090601182414.0 4u####8###l# 4 uueng1 " . $aou->name . " "; + my $aou_name = $aou->name; + $xml = < +00307ny a22001094 4500 +42153 +20090601182414.0 +$record_id + 4u####8###l# 4 uueng1 + $aou_name + +HERE } my $marcxml = XML::LibXML->new->parse_string($xml); $marcxml->documentElement->setNamespace("http://www.loc.gov/MARC21/slim", "marc", 1 ); -- 2.43.2