Resolve LP893448: Prevent hold expiration in past.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 14 Nov 2012 16:49:49 +0000 (11:49 -0500)
committerJason Stephenson <jstephenson@mvlc.org>
Wed, 14 Nov 2012 19:21:52 +0000 (14:21 -0500)
commit43c453cefa0df2ccf7b882578a708776280088da
tree7370311a539bc1370b39638a42f590b20b1b0378
parent3f3114e6016386b94597ebe84cf28b86c9b06007
Resolve LP893448: Prevent hold expiration in past.

If a hold is placed with an expiration date in the past, the
expire_time of the hold will be reset using the hold expiration
interval settings.

Likewise, if a hold is changed to have an expiration date in the
past, the hold expiration date will be recalculated using the
hold expiration interval settings.

Signed-off-by: Jason Stephenson <jstephenson@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm