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:
parent
d1dd80e3ad
commit
1c3c191410
|
|
@ -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 );
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue