Bugzilla – Attachment 163251 Details for
Bug 36335
ILS-DI GetRecords bad encoding for UNIMARC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC
Bug-36335-Fix-ILS-DI-GetRecords-bad-encoding-for-U.patch (text/plain), 1.01 KB, created by
Fridolin Somers
on 2024-03-15 15:04:14 UTC
(
hide
)
Description:
Bug 36335: Fix ILS-DI GetRecords bad encoding for UNIMARC
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2024-03-15 15:04:14 UTC
Size:
1.01 KB
patch
obsolete
>From 6f3bda44f18f88b2b5407a8c7e88b56406bcca8d Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 15 Mar 2024 16:02:11 +0100 >Subject: [PATCH] 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> >--- > C4/ILSDI/Services.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/C4/ILSDI/Services.pm b/C4/ILSDI/Services.pm >index 07cea34da3..ee776423a9 100644 >--- a/C4/ILSDI/Services.pm >+++ b/C4/ILSDI/Services.pm >@@ -220,7 +220,7 @@ sub GetRecords { > > my $record = $biblio->metadata->record({ embed_items => 1 }); > if ($record) { >- $biblioitem->{marcxml} = $record->as_xml_record(); >+ $biblioitem->{marcxml} = $record->as_xml_record( C4::Context->preference('marcflavour') ); > } > > # Get most of the needed data >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 36335
:
163251
|
163767
|
166536