]> git.koha-community.org Git - koha.git/commit
Bug 24377: Record passed branch if renewing via cron
authorNick Clemens <nick@bywatersolutions.com>
Thu, 16 Jan 2020 13:09:58 +0000 (13:09 +0000)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 6 Feb 2020 19:43:11 +0000 (19:43 +0000)
commit180b20a6b8594b9039f6787400fbc38964f67cff
tree748b84481362780757617594740f2be28bead9e8
parentd3101975c6ed779dada28a83af66d3aeef12e8b1
Bug 24377: Record passed branch if renewing via cron

To test:
1 - Checkout an item with auto renewal set and eligible for auto renew
2 - Set no renewal before in the circ rules to 99 (something greater than the checkout period)
3 - perl misc/cronjobs/automatic_renewals.pl
4 - Check the statistics table, note the branch for renewal is null
    SELECT * FROM statistics WHERE itemnumber={itemnumber} AND type='RENEWAL'
5 - Apply patch
6 - Repeat 1-4
7 - Note the branch is set to the issuing branch

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Ed Veal <eveal@mckinneytexas.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit 723c72397f02c168ffe4f7615022ed0d9be7de49)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
C4/Circulation.pm