Koha/labels
Ian Walls 973371a68b Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname
In the 5 places in the label editor, the user's current branch is determined by taking
the LoginBranchname and doing a reverse look up for the branchcode.  This is an unnecessary
query, since C4::Context->userenv has the immediate access to the branchcode; this is how
it's summoned in all other points in the Koha code.

This addresses bug 6673 because, since the move to T:T, the call in tools/manage-marc-import.pl
has used in correct syntax:  $template->param('LoginBranchname') instead of $template->{VARS}->param('LoginBranchname')

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-09-28 20:29:39 +13:00
..
label-create-csv.pl Bug 5385: POD Cleanups (part 1) 2010-11-12 10:06:55 +13:00
label-create-pdf.pl Bug 6642 : Making sure permissions are checked on label creator 2011-08-01 21:09:33 +12:00
label-create-xml.pl bug 5653: use itemcallnumber in bib label layouts 2011-06-13 11:15:34 +12:00
label-edit-batch.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-09-28 20:29:39 +13:00
label-edit-layout.pl bug_6318: Always give predefined fields drop downs on label layout edit 2011-09-16 11:23:59 +12:00
label-edit-profile.pl Bug 5203 - Creating a label template causes fatal error if description field is empty 2010-09-23 13:52:40 -04:00
label-edit-template.pl Bug 6269 - can't undefine a printer profile 2011-08-21 19:56:00 +12:00
label-home.pl Fix FSF address in directory labels/ 2010-03-16 20:17:50 -04:00
label-item-search.pl Bug 5415 Let calls of SimpleSearch utilize considtent interface 2011-04-08 13:52:57 +12:00
label-manage.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-09-28 20:29:39 +13:00
label-print.pl Fix FSF address in directory labels/ 2010-03-16 20:17:50 -04:00
spinelabel-home.pl textual cleanup of new quick spine label code 2009-08-02 11:08:16 -04:00
spinelabel-print.pl Change in API : ordnum becomes ordernumber 2009-10-30 00:30:47 +01:00