Koha/patroncards
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
..
card-print.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
create-pdf.pl Bug 6643 -- Able to download patron card batches as an unauthorized user 2011-08-01 21:15:45 +12:00
edit-batch.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-09-28 20:29:39 +13:00
edit-layout.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
edit-profile.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
edit-template.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
home.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
image-manage.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
manage.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-09-28 20:29:39 +13:00
members-search.pl This patch fixes the broken pagination in members-search.pl 2011-04-07 14:25:20 +12:00
print.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00