Created attachment 109541 [details] Report with malfunction We recently updated to version 20 of Koha, and a report is generating a malfunction, it runs until a timeout appears. The report was updated and does not generate SQL error, but does not return results. I attach code.
Hi Jonathan, bugzilla is used for reporting bugs and enhancements, but not a good place to ask for help with reports. Please try the mailing list instead - it will also get your question out to a lot more people that might be able to help you. I took a quick look, but didn't spot it right away. You work with a lot of tables, some multiple times. If you send this to the mailing list, maybe also add a description of what you are trying to achieve with this report.