Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC
ILS-DI GetRecords generates bad encoding of MARCXML for UNIMARC, like OAI in Bug 34467
Enable ILS-DI and display a record with :
<opac url>/cgi-bin/koha/ilsdi.pl?service=GetRecords&id=<biblionumber>
Well-known issue, fixed
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5406aaedfa
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
afb9cd8e1c
commit
6568275bc9
1 changed files with 1 additions and 1 deletions
|
@ -220,7 +220,7 @@ sub GetRecords {
|
||||||
|
|
||||||
my $record = $biblio->metadata->record({ embed_items => 1 });
|
my $record = $biblio->metadata->record({ embed_items => 1 });
|
||||||
if ($record) {
|
if ($record) {
|
||||||
$biblioitem->{marcxml} = $record->as_xml_record();
|
$biblioitem->{marcxml} = $record->as_xml_record( C4::Context->preference('marcflavour') );
|
||||||
}
|
}
|
||||||
|
|
||||||
# Get most of the needed data
|
# Get most of the needed data
|
||||||
|
|
Loading…
Reference in a new issue