Koha-clms/reports
Jonathan Druart f27cfd734b 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>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit ea214856d1)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
2021-07-22 15:22:27 +02:00
..
acquisitions_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
bor_issues_top.pl Bug 28523: Escape 'rank' in bor_issues_top.pl 2021-07-22 15:22:27 +02:00
borrowers_out.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
borrowers_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
cash_register_stats.pl Bug 24665: Add support for filtering by cash register 2020-11-06 15:55:17 +01:00
cat_issues_top.pl Bug 28524: Escape 'rank' in cat_issues_top.pl 2021-07-22 15:22:27 +02:00
catalogue_out.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
catalogue_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
dictionary.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
guided_reports.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
issues_avg_stats.pl Bug 7806: Fix remaining occurrences of 0000-00-00 2021-03-04 10:24:48 +01:00
issues_stats.pl Bug 24663: Remove authnotrequired if set to 0 2020-09-03 10:40:35 +02:00
itemslost.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
itemtypes.plugin Bug 26090: Fix "item types" report 2020-08-18 14:38:41 +02:00
manager.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
orders_by_fund.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
reports-home.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
reserves_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00
serials_stats.pl Bug 25898: Prohibit indirect object notation 2020-10-15 12:56:30 +02:00