[Koha-bugs] [Bug 30825] Get rid of GetReservesControlBranch

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed May 25 11:31:46 CEST 2022


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

--- Comment #14 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
I worked on an alternative commit message for that last patch to clarify the
intent as I think it got a little lost.

>This patch changes the signature of Koha::Item->holds_control_library to
>accept a hashref with patron_id and patron as keys.  The patron key
>should contain a reference to a variable that may or may not already
>contain a Koha::Patron object. In the case where a Koha::Patron object
>is required and the patron reference does not yet contain such an object
>the method will fetch the patron using the patron_id passed and populate
>the reference so that future calls can now use the populated object instead
>of having to fetch it themselves too.

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


More information about the Koha-bugs mailing list