]> git.koha-community.org Git - koha.git/commit
Bug 8735 - Expire holds waiting only on days the library is open - Followup - Switch...
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 23 Apr 2013 16:32:03 +0000 (12:32 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 5 Sep 2014 14:51:01 +0000 (11:51 -0300)
commit3c1f7dae0aaefdb0041a1b3e030cbb47132f6672
tree5879fa70abb98d5e5b6e5e6ad978267469b05602
parent3b092a899fda345c95f875012ba7338f2efc6398
Bug 8735 - Expire holds waiting only on days the library is open - Followup - Switch from C4::Calendar to Koha::Calendar

Test Plan:
 1) Set ExpireReservesMaxPickUpDelay
 2) Set ReservesMaxPickUpDelay to 1
 3) Place a hold, set it to waiting
 4) Using the MySQL console, modify the waiting date and set it to the
    day before yesterday.
 5) Set today as a holiday for the pickup branch in question.
 6) Run misc/cronjobs/holds/cancel_expired_holds.pl
 7) The hold should remain unchanged
 8) Remove today as a holiday
 9) Run misc/cronjobs/holds/cancel_expired_holds.pl again
10) The hold should now be canceled

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
C4/Reserves.pm