]> git.koha-community.org Git - koha.git/commit
Bug 29346: Item action trigger
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 23 Mar 2022 15:36:32 +0000 (12:36 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 5 May 2022 21:17:35 +0000 (11:17 -1000)
commit1646d8be3eec18c970e65e6c66faee237d38eeaa
treef05cb6e334c449233c8a8f4726f9a2971a034f66
parenta6d501ad8a9e7f58f7a1d782715f1e8bacab291d
Bug 29346: Item action trigger

This patch makes the following actions trigger a holds queue rebuild for
the related biblio:

- Adding an item
- Updating an item
- Deleting an item

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Item.t
=> SUCCESS: Tests pass! Background job scheduled
3. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Item.pm
t/db_dependent/Koha/Item.t