]> git.evergreen-ils.org Git - working/Evergreen.git/commit - Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Use hold current shelf lib to determine availability : opac sorting user/berick/hold-current-shelf-lib
authorBill Erickson <berick@esilibrary.com>
Wed, 28 Dec 2011 20:44:36 +0000 (15:44 -0500)
committerBill Erickson <berick@esilibrary.com>
Wed, 4 Jan 2012 21:01:08 +0000 (16:01 -0500)
commitd2f41ba6829aad91367cb5e47a5825ffcb7ee2df
tree07f19e32afe7baf47e7fdce930daa7da55d14059
parente94ca037bf2ce8a9923c28b53cdb0d8c1247a7de
Use hold current shelf lib to determine availability : opac sorting

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

This change uses the new hold availability test to sort available
holds to front/top of a patron's holds list (for the OPAC).

Affects open-ils.circ.holds[.canceled|id_list].retrieve

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