From 7be57c66085071fea763a572ac2a6ceb82641297 Mon Sep 17 00:00:00 2001 From: Christophe Croullebois Date: Wed, 25 Nov 2020 11:29:40 +0100 Subject: [PATCH] Bug 27090: Opac basket: fix the 'In transit from' and 'to' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit To see the 'In transit from' and 'to' fields in an Opac basket we have : In transit from [% Branches.GetName( item.transfertfrom ) | html %] to [% Branches.GetName( item.transfertto ) | html %] since [% item.transfertwhen | $KohaDates %] But in koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc we have no : [% USE Branches %] This patch just corrects this lack Test plan: 1° find an item in a transit status or create one with this status 2° put it in an Opac basket 3° note that in the location column of the Opac basket the 'In transit from' and 'to' fields are empty. 4° apply the patch 5° check again and validate that the 2 fields are now filled Signed-off-by: Victor Grousset/tuxayo Signed-off-by: Nick Clemens Signed-off-by: Jonathan Druart --- koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc | 1 + 1 file changed, 1 insertion(+) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc index 7ee2303d80..cd04f9f4a5 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc @@ -1,3 +1,4 @@ +[% USE Branches %] [% USE AuthorisedValues %] [% SET itemavailable = 1 %] -- 2.39.5