Koha/reports
Jonathan Druart 3bb1578354 Bug 15407: Koha::Patron::Categories - remove sql queries in some pl and pm
This patch replaces sql queries done in some pl script and in
C4::Reports::Guided.
Since we have now a Koha::Patron::Categories module, we should use it
where it is possible.

Test plan:
- Prerequisite: Be sure you have several patron categories created, with
  different option enabled, and limit some to certain libraries.
- On the 'Circulation and fine rules' admin page (admin/smart-rules.pl),
  all the patron categories should be displayed (even the ones limited to
  another library), ordered by description. Try to add/update existing rules.
- On the overdue rules page (tools/overduerules.pl), all the patron
  categories with overduenoticerequired set should be displayed.
  Try to add/update existing rules.
- On the following reports:
    reports/borrowers_stats.pl
    reports/issues_avg_stats.pl
The patron categories should be displayed. Note that there is an
inconsistency with these 2 reports: the patron categories limited to
other libraries are displayed on them, when they are not on the other
reports. This should certainly be fixed (on another bug report).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-08 13:29:03 +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 15407: Koha::Patron::Categories - remove sql queries in some pl and pm 2016-09-08 13:29:03 +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 15407: Koha::Patron::Categories - remove sql queries in some pl and pm 2016-09-08 13:29:03 +00:00
issues_avg_stats.pl Bug 15407: Koha::Patron::Categories - remove sql queries in some pl and pm 2016-09-08 13:29:03 +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