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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 31 14:33:59 CEST 2022


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

--- Comment #24 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Jonathan Druart from comment #16)
> To clarify: we should have class methods, from classes that don't inherited
> from Koha::Object[s].
> 
> Something like
> Koha::Policy::Reserves::holds_control_library($item, $patron)
> 
> (or that would take the ids if we don't want to fetch the objects prior to
> the call)

I think as a solution that would be sufficient but not necessary. If we always
need to have both object to resolve the answer, it's just arbitrary to choose
the item, the patron, or some third party as the "holder" of the method.

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


More information about the Koha-bugs mailing list