From 574bff5c6f2472eda5da58eeec84018abe4e4711 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 7 Jun 2016 10:45:35 +0100 Subject: [PATCH] Bug 16680: (bug 13918 follow-up) Display library names for holds in transit Regression introduced by bug 13918: the library names are not displayed anymore for holds in transit. They are 2 warns in the logs: No method wbrname! at /home/koha/src/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt line 603. No method wbrcd! at /home/koha/src/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt line 603. Test plan: Make sure you have holds in transit and go the opac-user.pl In the "Holds" tab, you should see "Item in transit to LIBRARY NAME" Signed-off-by: Kyle M Hall Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt index f31f47e0a3..264641f376 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt @@ -597,10 +597,10 @@ [% END %] [% ELSE %] - Item waiting to be pulled from [% RESERVE.wbrname %] + Item waiting to be pulled from [% Branches.GetName( RESERVE.branchcode ) %] [% END %] [% ELSE %] - Item in transit to [% RESERVE.wbrname %] + Item in transit to [% Branches.GetName( RESERVE.branchcode ) %] [% END %] [% ELSE %] [% IF ( RESERVE.is_in_transit ) %] -- 2.39.5