From 95ced597c4ddd4e372f91a3c788f3e2ac380b6b9 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 Content-Type: text/plain; charset="UTF-8" Signed-off-by: Jared Camins-Esakov --- tools/export.pl | 6 +++++- 1 files changed, 5 insertions(+), 1 deletions(-) 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.2.5