Bug 31313: (QA follow-up) Remove unused bundle_host field from item_info

The patch "Bug 31313: Fix availability - OPAC
opac-detail" (70cb4e22c0) 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ä <joonas.kylmala@iki.fi>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Joonas Kylmälä 2022-08-23 20:10:45 +00:00 committed by Tomas Cohen Arazi
parent d1dd80e3ad
commit 1c3c191410
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
1 changed files with 0 additions and 4 deletions

View File

@ -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 );
}