https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=29333
--- Comment #4 from Fridolin Somers <[email protected]> --- Mmmm diff --git a/catalogue/showmarc.pl b/catalogue/showmarc.pl index 8292bfe746..ab6c29487f 100755 --- a/catalogue/showmarc.pl +++ b/catalogue/showmarc.pl @@ -61,7 +61,9 @@ if(!ref $record) { } if($view eq 'card' || $view eq 'html') { - my $xml = $importid ? $record->as_xml(): GetXmlBiblio($biblionumber); + my $marcflavour = C4::Context->preference('marcflavour'); + my $format = $marcflavour eq 'UNIMARC' ? 'UNIMARCAUTH' : 'USMARC'; + my $xml = $importid ? $record->as_xml($format): GetXmlBiblio($biblionumber); This should be only for authorities no ? showmarc.pl is also used to display biblio records -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
