[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 12:10:30 CEST 2020


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

Arthur Suzuki <arthur.suzuki at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Needs Signoff

--- Comment #108 from Arthur Suzuki <arthur.suzuki at biblibre.com> ---
> You test in CanBook and if it's green, you will
> test it again for every item?
> Maybe you need to tell CanItem to test once?

I told CanItem to test only if caller is different than CanBook, should solve.
I think $patron->holds do not actually execute SQL,
only if queried with $holds->count right?
then if first condition is false, it is not queried

eet smakelijk een goeie namiddag :)

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


More information about the Koha-bugs mailing list