[Koha-bugs] [Bug 11999] Add two checks in CanBookBeReserved and CanItemBeReserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 3 02:49:36 CEST 2020


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

--- Comment #105 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
Daag Marcel,
from your comment :
"And what about performance? If you come from CanBook, why would you test it
again and again in CanItem? This check is only needed for the first item?"

No performance issues involved.
There is a test in CanBook before the item loop.
Then if test is false it won't enter the loop.
The check in CanItem is there to have the syspref checked even when using
ItemLevelHold (like ILSDI-HoldItem for example).

Mvg,
Arthur

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


More information about the Koha-bugs mailing list