From 62f4186f881e8eb08373d51e06c45769b41856b5 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 26 Aug 2016 14:05:42 +0100 Subject: [PATCH] Bug 15758: Fix variable name, it's a branchcode Signed-off-by: Kyle M Hall --- circ/branchtransfers.pl | 2 -- koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index eb0a4f7e6a..5ed99b947a 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -128,7 +128,6 @@ if ($barcode) { $item{'ccode'} = $iteminformation->{'ccode'}; $item{'itemcallnumber'} = $iteminformation->{'itemcallnumber'}; $item{'location'} = GetKohaAuthorisedValueLib("LOC",$iteminformation->{'location'}); - $item{'tobrname'} = $tobranchcd; # } $item{counter} = 0; $item{barcode} = $barcode; @@ -160,7 +159,6 @@ foreach ( $query->param ) { $item{'ccode'} = $iteminformation->{'ccode'}; $item{'itemcallnumber'} = $iteminformation->{'itemcallnumber'}; $item{'location'} = GetKohaAuthorisedValueLib("LOC",$iteminformation->{'location'}); - $item{'tobrname'} = $tobcd; push( @trsfitemloop, \%item ); } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index 171fd673f1..ede0767588 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -187,7 +187,7 @@ [% trsfitemloo.itemcallnumber %] [% ItemTypes.GetDescription( trsfitemloo.itemtype ) %] [% AuthorisedValues.GetByCode( 'CCODE', trsfitemloo.ccode ) %] - [% Branches.GetName( trsfitemloo.tobrname ) %] + [% Branches.GetName( trsfitemloo.tobrcd ) %] [% END %] -- 2.39.5