[Koha-bugs] [Bug 36441] Improve performance of Item::is_bundle

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 27 19:24:00 CET 2024


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36441

--- Comment #3 from David Gustafsson <glasklas at gmail.com> ---
Created attachment 164025
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164025&action=edit
Bug 36441: Improve performance of Item::is_bundle

Perform count using DBI-query in Item::is_bundle to
significantly improve performance.

To test:
1) Go to the details page of a bibio with a large number
   of holdings holdings, preferably more than a hundred,
   and take note of page load time.
3) Apply patch
4) Reload the page and take note of page load time.
5) There should be an improvement of about 10-15%
6) Ensure tests in t/db_dependent/Koha/Item.t pass

Sponsored-by: Gothenburg University Library

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list