]> git.koha-community.org Git - koha.git/commit
Bug 21181: Make cancel_expired_reserves.pl Cancel all holds not waiting if ExpireRese...
authorNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2019 01:22:06 +0000 (01:22 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 5 Jul 2019 07:39:23 +0000 (08:39 +0100)
commit4f7f55e5fcb8c9b0a608a79228e303de05ff0328
tree885158955b98bfe898ac6a63793c7c6f199b169e
parentab417c290a06640153f725e361b56bf6c598c386
Bug 21181: Make cancel_expired_reserves.pl Cancel all holds not waiting if ExpireReservesMaxPickupDelay not set

To test:
0 - Make sure ExpireReservesMaxPickupDelay is set to 'Don't allow'
1 - Place a hold for a patron
2 - Check in at another library to set it in transit
3 - Update expirationdate of hold to be in the past
    UPDATE reserves SET expirationdate='1999-12-31'
4 - Run cancel_expired_holds.pl
5 - Hold is not canceled
6 - Apply patch
7 - Run again
8 - Hold is cancelled

Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Reserves.pm