LP#1284864 repair MR hold possibilty depth calculation
authorBill Erickson <berick@esilibrary.com>
Tue, 4 Mar 2014 15:42:22 +0000 (10:42 -0500)
committerBill Erickson <berick@esilibrary.com>
Tue, 4 Mar 2014 15:42:22 +0000 (10:42 -0500)
commit08410162691b9e635a36058191e5058d47fd8099
tree268ca8bfca83ab323008a88193b91391b2bd5891
parent181a3c2879bc9d327d1696b21ffdce019ce81ac1
LP#1284864 repair MR hold possibilty depth calculation

Fixes a bug where the hold possibility checks for metarecords used the
depth of the selection OU instead of depth 0 when no depth was defined.
This prevented holds from being placed in some instances, particularly
when no hold boundaries were defined (or equaled zero).

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