[Koha-bugs] [Bug 30072] Add more holds hooks

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 11 19:41:08 CET 2022


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

--- Comment #4 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
I have doubts about relying on ->get_from_storage, as the current
Koha::Plugins->call design will refetch the object even if there are no
installed plugins.

I submit this as-is because it is what is being done in places like AddReturn
anyway. But my gut feeling was telling me to pass the id only, and let the
plugin writers decide what to do with it. But, for consistency, we should fix
the existing calls... Hard call. Ideas welcome. I like this as-is and will
provide a patchset for branches that don't have bug 29869 in them.

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


More information about the Koha-bugs mailing list