[Koha-bugs] [Bug 29346] Add real-time holds queue update option

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Mar 16 21:43:20 CET 2022


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

--- Comment #8 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 131813
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=131813&action=edit
Bug 29346: Hold actions triggers

This patch makes several holds related actions schedule the background
job for real-time update of the holds queue.

This actions are:

- place (C4::Reserves::AddReserve)
- fill (Koha::Hold->fill)
- cancel (Koha::Hold->cancel)
- suspend (Koha::Hold->suspend)
- resume (Koha::Hold->resume)

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Hold.t \
           t/db_dependent/Reserves.t
=> SUCCESS: Tests pass! Triggers are triggered
3. Sign off :-D

Sponsored-by: Montgomery County Public Libraries

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


More information about the Koha-bugs mailing list