From 2c402eabbf12aa07a3c3418b868ac7c1a8ee20e3 Mon Sep 17 00:00:00 2001 From: Wainui Witika-Park Date: Mon, 20 Sep 2021 08:27:48 +0000 Subject: [PATCH] Revert "Bug 28604: Prevent double encoding of MARC::Record::MiJ->to_mij output" This reverts commit 5c89018abd5b209ae48ec853bad599f0d670c328. --- Koha/REST/V1/Biblios.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Koha/REST/V1/Biblios.pm b/Koha/REST/V1/Biblios.pm index 0dac9b4a7b..cee90e3be0 100644 --- a/Koha/REST/V1/Biblios.pm +++ b/Koha/REST/V1/Biblios.pm @@ -75,7 +75,7 @@ sub get { mij => { status => 200, format => 'mij', - data => $record->to_mij + text => $record->to_mij }, marc => { status => 200, @@ -220,7 +220,7 @@ sub get_public { mij => { status => 200, format => 'mij', - data => $record->to_mij + text => $record->to_mij }, marc => { status => 200, -- 2.39.5