[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
Mon Nov 9 08:34:40 CET 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26963
Fridolin SOMERS <fridolin.somers at biblibre.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |fridolin.somers at biblibre.co
| |m
--- Comment #3 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Just to understand :
$cache_key = "I" . $item->homebranch . "-" . $patron->branchcode
The use of homebranch and branchcode in key are logic on actual code in
Koha::Items::pickup_locations().
But this code may change...
Couldn't we cache inside Koha::Items::pickup_locations() ?
--
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