From c0dda22fbac38aa922a962e8c97f63d55be85ca3 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 --- tools/export.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tools/export.pl b/tools/export.pl index cebae90..8c08602 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(); -- 1.7.9.5