Bug 8202 follow-up UNIMARC authority support

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
This commit is contained in:
Paul Poulain 2012-07-03 18:41:56 +02:00
parent 986b887159
commit 74f6e97396
1 changed files with 5 additions and 1 deletions

View File

@ -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();