Allow overriding some hold events when permissions apply
authorLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 15 Jul 2011 22:27:30 +0000 (18:27 -0400)
committerBill Erickson <berick@esilibrary.com>
Wed, 20 Jul 2011 18:39:32 +0000 (14:39 -0400)
commit383cca99764955ef777f504342a03628f5acf179
tree15e24bc870f05b79f54a355a24984453328c39aa
parentb238ab496cb02ef9c63a1f35c8d1f45e772e091c
Allow overriding some hold events when permissions apply

Works fine now for HOLD_EXISTS and HOLD_ITEM_CHECKOUT_OUT, at least

But this was also supposed to work with these org settings:
 circ.holds.hold_has_copy_at.alert
 circ.holds.hold_has_copy_at.block
which are supposed to define behavior when the user wants to place a
(copy- or volume-level only?) hold on an item at a branch that's not his
home_ou but his home_ou has an available copy.

Anyway, the open-ils.circ.title_hold.is_possible method is supposed to
return information about whether local copies are available to support
such a function, but it doesn't seem to do so.  I think.  Will revisit.

Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/web/templates/default/opac/parts/org_selector.tt2
Open-ILS/web/templates/default/opac/parts/place_hold.tt2