Bugzilla – Attachment 139695 Details for
Bug 31313
Remove GetItemsInfo from opac-detail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31313: (QA follow-up) Remove unused bundle_host field from item_info
Bug-31313-QA-follow-up-Remove-unused-bundlehost-fi.patch (text/plain), 1.21 KB, created by
Joonas Kylmälä
on 2022-08-23 20:14:42 UTC
(
hide
)
Description:
Bug 31313: (QA follow-up) Remove unused bundle_host field from item_info
Filename:
MIME Type:
Creator:
Joonas Kylmälä
Created:
2022-08-23 20:14:42 UTC
Size:
1.21 KB
patch
obsolete
>From f7d7a995be66091281ef035f4d2f7657ac380afd Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= <joonas.kylmala@iki.fi> >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=UTF-8 >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ä <joonas.kylmala@iki.fi> >--- > 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.30.2
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 31313
:
138821
|
138822
|
138847
|
138848
|
139119
|
139120
|
139121
|
139122
|
139193
|
139239
|
139693
|
139694
|
139695
|
139761
|
139762
|
139763