]> git.koha-community.org Git - koha.git/commit
Bug 21075: AutoUnsuspendHolds should unsuspend holds <= today
authorNick Clemens <nick@bywatersolutions.com>
Fri, 13 Jul 2018 14:45:55 +0000 (14:45 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 9 Aug 2018 10:22:50 +0000 (11:22 +0100)
commit9e67cff276297fe52e2f8c58ab559758ad5043f6
tree036cf74a1e59693c16cc8e35e9b458a53c42b471
parent0d349fba89697bf58d86a9b26d8ebc385d1a8417
Bug 21075: AutoUnsuspendHolds should unsuspend holds <= today

To recreate:
 1 - Place a hold in your system
 2 - Set that hold (or all holds) to expire today
    update reserves set suspend_until=CONCAT( CURDATE()," 00:00:00");
 3 - Run misc/cronjobs/holds/auto_unsuspend_holds.p
 4 - Note the hold is sitll suspended
 5 - Visit /cgi-bin/koha/reserve/request.pl for the book with the hold
 6 - Note the suspend date is tomorrow (and cannot be set to today]
 7 - Click update holds - the date in db is now set to tomorrow
 8 - Reset to today
 9 - Apply patch
10 - Run the cron again
11 - Visit the page and note hold is unsuspended

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit c0f7aed84d663029b2f1b37ce0391b5a40b10b97)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Reserves.pm