https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42550 --- Comment #3 from Owen Leonard <oleonard@myacpl.org> --- Created attachment 198735 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198735&action=edit Bug 42550: Remove JS error from report list if none exist If there are no saved SQL reports, the "rtable" variable is empty and triggers an error when called later. Uncaught TypeError: can't access property "DataTable", rtable is undefined Test plan: /cgi-bin/koha/reports/guided_reports.pl?op=list Without reports => Without this patch there is a JS error in the console => With the patch the error is gone Signed-off-by: Owen Leonard <oleonard@myacpl.org> -- You are receiving this mail because: You are watching all bug changes.