]> git.koha-community.org Git - koha.git/commit
Bug 19626: Calculate expiration date for existing holds based on waitingdate
authorNick Clemens <nick@bywatersolutions.com>
Wed, 15 Nov 2017 13:03:57 +0000 (13:03 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Sun, 26 Nov 2017 15:59:58 +0000 (12:59 -0300)
commit996298340fb7c545559864593d9054369ba2e56d
tree97fffe80d541bb759484e23beafa28a13832f79b
parentc42053021bf6f0d5550df5786c8017b90f634ebd
Bug 19626: Calculate expiration date for existing holds based on waitingdate

To test:
1 - Have/create a 16.11 instance with some waiting holds
2 - Those holds should not have an expirationdate
3 - Make sure some of the holds are waiting longer than
ReservesMaxPickupDelay
BACKUP THE DB
4 - Upgrade to 17.05 (or later)
5 - Check the expirationdate for the holds
6 - The date wil be in the future (curdate + delay)
7 - Restore DB
8 - Apply patch
9 - Run the upgrade again
10 - expirationdate should now be based on waitingdate

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/updatedatabase.pl