]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Use hold current shelf lib to determine availability : A/T validator
authorBill Erickson <berick@esilibrary.com>
Tue, 27 Dec 2011 21:34:46 +0000 (16:34 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 4 Jan 2012 20:48:46 +0000 (15:48 -0500)
commitbcef00bd27782fa730bf3b82c263c1e8c421245f
tree9515bc7cf322a5e054c3aa4d208357b587af2632
parent85716b57f62b9de89327561f37cc3807d5fd6787
Use hold current shelf lib to determine availability : A/T validator

The availability of a hold can now be determined by
hold.current_shelf_lib == hold.pickup_lib.

This change updates the HoldIsAvailable action/trigger validator to use
the new test.  I've left the original belt-and-suspenders checks in
place and marked them as redundant within the code for reference.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Validator.pm