[Koha-bugs] [Bug 30180] Deprecate after_hold_create hook
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Feb 25 09:57:29 CET 2022
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30180
--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 131102
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131102&action=edit
Bug 30180: Add 'placed' after_hold_hook
This patch adds a new 'after_hold_action' hook, that is called with the
'placed' action parameter.
To test:
1. Apply the unit tests patch
2. Run:
$ kshell
k$ prove t/db_dependent/Koha/Plugins/Holds_hooks.t
=> FAIL: Boo, the hook is not called
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Sign off :-D
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list