[Koha-bugs] [Bug 30085] Improve performance of CanItemBeReserved

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 11 21:00:17 CET 2022


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

--- Comment #2 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 130526
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=130526&action=edit
Bug 30085: Don't fetch ReservesControlBranch twice

We essentially copy the code from GetReservesControlBranch here, because we
also calculate 'branchfield'

Setting it to "" vs undef makes no difference in this code, so lets not fetch
this
again later.

Rename the variable to make it clearer where the branchcode came from

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


More information about the Koha-bugs mailing list