From 9eaa0793530018d14dc2ad930e7249dfee8992dc Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 3 Jun 2022 08:20:17 +0200 Subject: [PATCH] Bug 31316: Remove GetItemsInfo from opac-sendbasket Bug 27272 is going to remove C4::Items::GetItemsInfo in favour of Koha::Items->search. Here we are going to deal with opac-sendbasket Test plan: List items on the modified view and confirm that all the info is displayed correctly --- .../opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt | 8 +++++--- .../opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt | 8 +++++--- opac/opac-sendbasket.pl | 8 ++------ opac/opac-sendshelf.pl | 7 ++----- 4 files changed, 14 insertions(+), 17 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt index 00f93e7e0a7..38978d299a8 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt @@ -1,6 +1,8 @@ [% USE raw %] [% USE HtmlToText %] [% USE Koha %] +[% USE AuthorisedValues %] +[% USE Branches %] Your cart @@ -143,12 +145,12 @@ Your cart In online catalog: [% OPACBaseURL | $raw %]/cgi-bin/koha/opac-detail.pl?biblionumber=[% BIBLIO_RESULT.biblionumber | html %]

[% END %] - [% IF ( BIBLIO_RESULT.ITEM_RESULTS.size ) %] + [% IF ( BIBLIO_RESULT.ITEM_RESULTS.count ) %]

Items: