From 74f6e97396eb7368fb4e408bcf00ca9ff399c5a3 Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Tue, 3 Jul 2012 18:41:56 +0200 Subject: [PATCH] Bug 8202 follow-up UNIMARC authority support Signed-off-by: Jared Camins-Esakov --- tools/export.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/export.pl b/tools/export.pl index cebae9011f..8c08602237 100755 --- a/tools/export.pl +++ b/tools/export.pl @@ -210,7 +210,11 @@ if ($op eq "export") { } } if ( $output_format eq "xml" ) { - print $record->as_xml_record($marcflavour); + if ($marcflavour eq 'UNIMARC' && $record_type eq 'auths') { + print $record->as_xml_record('UNIMARCAUTH'); + } else { + print $record->as_xml_record($marcflavour); + } } else { print $record->as_usmarc(); -- 2.39.5