https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41797 --- Comment #8 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 194881 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=194881&action=edit Bug 41797: (QA follow-up) Fix empty results truthiness check - The tidy converted a TT compile-time [% IF results %] to a runtime JS check on original_results - original_results is always an array (fallback to []) and an empty array is truthy in JS, so the chart click handler was always registered even with no results - Check .length instead to match the original server-side behavior Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de> -- You are receiving this mail because: You are watching all bug changes.