https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42550
--- Comment #2 from Owen Leonard <[email protected]> --- Created attachment 198734 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198734&action=edit Bug 42550: JS error on saved SQL reports page when there are no reports This patch updates the guided reports template so prevent a JS error when viewing an empty list of saved SQL reports. References to the "rtable" variable should be dependent on a check for the existence of the variable, which is undefined if there are no saved reports. To test, apply the patch and go to Reports -> View saved. Test the view of saved reports when there are some saved SQL reports and when there are none. In both cases there should be no error in the browser console about "rtable" being undefined. Sponsored-by: Athens County Public Libraries -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
