X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=opac%2Fopac-export.pl;h=fb8dee7a1eac1d793d8709d6c46ef7d7684c604a;hb=734c63222bf807200c1b7bd4dbdcf4f12acd2db9;hp=411fd3fd86d886e83229dee9186f9ed3a08cc279;hpb=f21577986f8ff5da5fde88deaae2302a8b40dbe7;p=koha_fer diff --git a/opac/opac-export.pl b/opac/opac-export.pl index 411fd3fd86..fb8dee7a1e 100755 --- a/opac/opac-export.pl +++ b/opac/opac-export.pl @@ -66,6 +66,10 @@ elsif ($format =~ /utf8/) { C4::Charset::SetUTF8Flag($marc,1); $marc = $marc->as_usmarc(); } +elsif ($format =~ /marcstd/) { + C4::Charset::SetUTF8Flag($marc,1); + ($error,$marc) = marc2marc($marc, 'marcstd', C4::Context->preference('marcflavour')); +} else { $error= "Format $format is not supported."; }