[Koha-bugs] [Bug 26963] Koha::Template::Plugin::Branches::pickup_locations is very inefficient, causing timeouts on records with large numbers of holds/items

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 10 11:54:46 CET 2020


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

--- Comment #8 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 113340
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=113340&action=edit
Bug 26963: Cache pickup locations for biblio level holds in the template

When determining pickup locations for holds that have not specified an
itemnumber we will get the same
results for each hold. This patch simply places the list of libraries into a
template variable and reuses
it for each hold

To test:
1 - Have several title level holds with varying pickup locations
2 - Have some libraries that are not pickup locations
3 - View the holds table for the biblio with the holds
4 - Observe the dropdowns load correctly
5 - Apply patch
6 - Verify there are no changes

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


More information about the Koha-bugs mailing list