Koha-clms/tools
Ian Walls cac61e967c 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>
(cherry picked from commit 973371a68b)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-10-08 17:47:06 -04:00
..
csv-profiles MT2116: Addons to the CSV export 2010-02-17 07:51:33 -05:00
background-job-progress.pl Bug 2505 - Add commented use warnings where missing in the tools/ directory 2010-04-21 20:26:38 +12:00
batchMod.pl Bug 5376: Batch Mod and Delete require superlibrarian permissions 2011-01-28 15:46:32 +13:00
cleanborrowers.pl Bug 2505 - Add commented use warnings where missing in the tools/ directory 2010-04-21 20:26:38 +12:00
csv-profiles.pl Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
exceptionHolidays.pl Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl 2009-09-12 08:38:35 -04:00
export.pl Bug 6755 Problems with switching languages 2011-10-08 12:21:25 -04:00
holidays.pl Fix for Bug 4991, Overhaul of Calendar interface 2010-11-02 15:02:54 +13:00
import_borrowers.pl Bug 5379 - import_borrowers.pl fails with db insert/update errors 2011-07-10 14:31:23 -04:00
inventory.pl Bug 6453 Corrects the barcode comparisons in inventory.pl 2011-06-27 07:31:13 -04:00
koha-news.pl Fix for Bug 6306 - It is not possible edit news 2011-05-29 23:14:19 -04:00
letter.pl Fix for Bug 4419 - cannot change module for notice templates 2011-09-02 15:08:28 -04:00
manage-marc-import.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-10-08 17:47:06 -04:00
newHolidays.pl Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl 2009-09-12 08:38:35 -04:00
overduerules.pl Bug #6064 Improvement of default value usage in overdue 2011-04-07 21:33:40 +12:00
pdfViewer.pl Convert to UTF-8. 2010-05-06 17:58:54 -04:00
picture-upload.pl Bug 5385: POD Cleanups (part 2) 2010-11-12 10:06:56 +13:00
scheduler.pl Bug 2505 - Add commented use warnings where missing in the tools/ directory 2010-04-21 20:26:38 +12:00
stage-marc-import.pl Bug 5859: Allow user to set encoding for import 2011-04-19 13:05:48 +12:00
tools-home.pl Bug 2505: Enabled warnings in tools-home.pl, holidays.pl, exceptionHolidays.pl, and newHolidays.pl 2009-09-12 08:38:35 -04:00
upload-file-progress.pl Bug 2505 - Add commented use warnings where missing in the tools/ directory 2010-04-21 20:26:38 +12:00
upload-file.pl Bug 2505 - Add commented use warnings where missing in the tools/ directory 2010-04-21 20:26:38 +12:00
viewlog.pl Bug 6460: alternative fix, updating template and script instead of C4::Log 2011-10-08 12:47:44 -04:00