From 1c3c191410e87ae18e45f6402319360d09593a23 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Tue, 23 Aug 2022 20:10:45 +0000 Subject: [PATCH] Bug 31313: (QA follow-up) Remove unused bundle_host field from item_info MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The patch "Bug 31313: Fix availability - OPAC opac-detail" (70cb4e22c07) lead to koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc use the bundle_host method directly through the passed Koha::Item object, thus the bundle_host field added by this script is unused. Signed-off-by: Joonas Kylmälä Signed-off-by: Nick Clemens Signed-off-by: Tomas Cohen Arazi --- opac/opac-detail.pl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/opac/opac-detail.pl b/opac/opac-detail.pl index ed224e08fb..a7289f3d0a 100755 --- a/opac/opac-detail.pl +++ b/opac/opac-detail.pl @@ -738,10 +738,6 @@ else { } - if ( $item->in_bundle ) { - $item_info->{bundle_host} = $item->bundle_host; - } - if ( C4::Context->preference('UseCourseReserves') ) { $item_info->{course_reserves} = GetItemCourseReservesInfo( itemnumber => $item->itemnumber ); } -- 2.39.5