]> git.koha-community.org Git - koha.git/commit
Bug 30728: Only trigger real-time holds queue update if enabled
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 10 May 2022 17:18:55 +0000 (14:18 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 13 May 2022 08:17:46 +0000 (22:17 -1000)
commitaf1f8d34db42a94232fa445f99ae9b437a12a72f
tree35210fd88ff39937d59ed90632a83617b018dbdb
parentb952519c26f159ad53c0c3d3642bdb6ffcd5e9c1
Bug 30728: Only trigger real-time holds queue update if enabled

This patch makes the places in which Koha enqueues holds queue for
real time updates verify the feature is enabled.

To test:
1. Apply this patches up to the unit tests
2. Run:
   $ updatedatabase
   $ kshell
  k$ git diff origin/master --name-only | grep -e '\.t$' | xargs prove
=> FAIL: tests fail, the code doesn't care about the syspref
3. Apply this patch
4. Repeat 2
=> SUCCESS: Tests pass!
5. Be happy!
6. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Biblio.pm
C4/Circulation.pm
C4/Reserves.pm
Koha/BackgroundJob/BatchDeleteBiblio.pm
Koha/BackgroundJob/BatchDeleteItem.pm
Koha/Hold.pm
Koha/Item.pm