[Koha-bugs] [Bug 30860] Add option for CanBookBeReserved to return all item values

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 22 16:33:04 CET 2023


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

--- Comment #29 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
Created attachment 148562
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=148562&action=edit
Bug 30860: [alternative patch] Cache CanItemBeReserved return value

Instead of hacking CanBookBeReserved this patch suggests to simply cache
the return value of CanItemBeReserved that could be then returned *on
demand*
We don't want to introduce side-effects hard to catch from this simple
change, so let's return the cache value only from the 2 scripts we are
dealing with.

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


More information about the Koha-bugs mailing list