projects
/
koha.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
986b887
)
Bug 8202 follow-up UNIMARC authority support
author
Paul Poulain
<paul.poulain@biblibre.com>
Tue, 3 Jul 2012 16:41:56 +0000
(18:41 +0200)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Wed, 4 Jul 2012 14:21:07 +0000
(16:21 +0200)
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
tools/export.pl
patch
|
blob
|
history
diff --git
a/tools/export.pl
b/tools/export.pl
index
cebae90
..
8c08602
100755
(executable)
--- 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();