]> git.evergreen-ils.org Git - Evergreen.git/commit
Resolve LP893448: Prevent hold expiration in past.
authorJason Stephenson <jstephenson@mvlc.org>
Wed, 14 Nov 2012 16:49:49 +0000 (11:49 -0500)
committerBen Shum <bshum@biblio.org>
Tue, 18 Dec 2012 05:57:19 +0000 (00:57 -0500)
commitbb93a7ad1cb98559c1562f20485a576ea5832383
treeb43880b702138a34a962e8776c4eb1392285fe0a
parent9cf053f05c4996c75760f39fe812b5b851aca4a3
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>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm