Koha/reports
Galen Charlton 8ca55a7fb3 Bug 16760: fix Circulation Statistics wizard under Plack
This patch fixes some variable scoping problems when running
the circulation statistics wizard under Plack.  For example,
when using the item type as a row header, with this patch the
item type description is displayed rather than "UKNOWN VALUE".

This patch also enables warnings and fixes a couple variable
initialization issues. (Note that turning on warnings across
the board would make it easier to identify Plack variable scoping
issues, as "Variable "$foo" is not available at' errors would
be recorded in the Plack error log).

To test
-------
[1] Run the staff interface under Plack.
[2] Go to the Circulation Statistics Wizard and run a report
    using item type as the row. Note that the row labels
    display as "UNKNOWN VALUE" rather than the item type.
[3] Apply the patch and restart Plack.
[4] Run step #2 again; this time, the item type descriptions should
    be used as the row labels.

Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-07-08 12:48:27 +00:00
..
acquisitions_stats.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
bor_issues_top.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
borrowers_out.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
borrowers_stats.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
cat_issues_top.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
catalogue_out.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
catalogue_stats.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
dictionary.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
guided_reports.pl Bug 16388: Use existing 'execute' parameter instead of creating a new one 2016-06-03 08:01:43 +00:00
issues_avg_stats.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
issues_by_borrower_category.plugin Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
issues_stats.pl Bug 16760: fix Circulation Statistics wizard under Plack 2016-07-08 12:48:27 +00:00
itemslost.pl Bug 14965: Remove C4::Dates from 'lists' in folder reports 2015-11-05 09:56:52 -03:00
itemtypes.plugin Bug 14100: (follow-up) Language overlay for item types 2015-10-27 12:34:06 -03:00
manager.pl Bug 16154: CGI->multi_param - Declare a list 2016-04-26 23:16:42 +00:00
orders_by_fund.pl Bug 16594: Fix obvious QA issues from bug 11371 2016-06-17 14:53:45 +00:00
reports-home.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
reserves_stats.pl Bug 14100: (follow-up) Language overlay for item types 2015-10-27 12:34:06 -03:00
serials_stats.pl Bug 14961: Remove C4::Dates from files reports/*_stats.pl 2015-10-26 11:19:36 -03:00
stats.print.pl Bug 11944: use CGI( -utf8 ) everywhere 2015-01-13 13:07:21 -03:00
stats.screen.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00