Koha/reports
Jonathan Druart 5faddae26f Bug 28524: Escape 'rank' in cat_issues_top.pl
It's a MySQL 8 keyword

Test plan:
Turn off strict_sql_modes (there are other problems in this script)
Hit Home Reports > Most-circulated items
Submit the form

Without this patch you got:
  You have an error in your SQL syntax; check the manual that
  corresponds to your MySQL server version for the right syntax to use
  near 'RANK, biblio.biblionumber AS ID, itemcallnumber as CALLNUM,
  ccode as CCODE, loca' at line 1

With this patch applied you see the report result view

Signed-off-by: Owen Leonard <oleonard@myacpl.org>

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

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-07-06 10:12:58 +02:00
..
acquisitions_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
bor_issues_top.pl Bug 28523: Escape 'rank' in bor_issues_top.pl 2021-07-06 10:12:56 +02:00
borrowers_out.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
borrowers_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
cash_register_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
cat_issues_top.pl Bug 28524: Escape 'rank' in cat_issues_top.pl 2021-07-06 10:12:58 +02:00
catalogue_out.pl Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
catalogue_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
dictionary.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
guided_reports.pl Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
issues_avg_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
issues_stats.pl Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
itemslost.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
itemtypes.plugin Bug 26090: Fix "item types" report 2020-08-18 14:38:41 +02:00
manager.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
orders_by_fund.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
reports-home.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00
reserves_stats.pl Bug 28572: Remove C4::Debug 2021-06-22 12:04:32 +02:00
serials_stats.pl Bug 28591: Don't pass debug to get_template_and_user 2021-06-22 12:04:32 +02:00