]> git.koha-community.org Git - koha.git/commit
Bug 37591: Fix moredetail.tt performance issue
authorJohanna Räisä <johanna.raisa@gmail.com>
Fri, 9 Aug 2024 05:58:31 +0000 (08:58 +0300)
committerLucas Gass <lucas@bywatersolutions.com>
Wed, 11 Sep 2024 16:44:07 +0000 (16:44 +0000)
commit85afecd491b08152bd140b67381e75bffe47561e
tree8cac6afbb6f871b15f553a796b0f6f0b81e24a3a
parent0935e9b30b46ed10b2b23bffda6521382accdf48
Bug 37591: Fix moredetail.tt performance issue

This patch fixes the performance issue in moredetail.tt by removing the
unnecessary call of checkout_renewals table.

To test:
1. Create lot of checkouts and renewals for a record.
2. Open the moredetail page for the record.
3. Check the timing of the page load.
4. Apply the patch and check the timing of the page load again.
5. The page load should be faster after applying the patch.

Sponsored-by: Koha-Suomi Oy
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Emily Lamancusa <emily.lamancusa@montgomerycountymd.gov>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 5c41c1c657eba6be37bd8ca4622fdc9eda658fcd)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/moredetail.tt