projects
/
srvgit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
68f7ab0
)
Bug 8203 follow-up: fix MARCXML export for UNIMARC
origin/new/bug_8203
author
Jared Camins-Esakov
<jcamins@cpbibliography.com>
Fri, 6 Jul 2012 11:05:27 +0000
(07:05 -0400)
committer
Paul Poulain
<paul.poulain@biblibre.com>
Thu, 12 Jul 2012 14:03:22 +0000
(16:03 +0200)
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
authorities/export.pl
patch
|
blob
|
history
diff --git
a/authorities/export.pl
b/authorities/export.pl
index
c6b8349
..
9c8ae17
100755
(executable)
--- a/
authorities/export.pl
+++ b/
authorities/export.pl
@@
-30,7
+30,7
@@
if ( $op eq "export" ) {
my $marc = GetAuthority($authid);
if ( $format =~ /marcxml/ ) {
- $marc = marc2marcxml($marc);
+ $marc = marc2marcxml($marc
, 'UTF-8', C4::Context->preference("marcflavour") eq 'UNIMARC' ? 'UNIMARCAUTH' : 'MARC21'
);
}
elsif ($format=~ /mads/) {
$marc = marc2madsxml($marc);