]> git.evergreen-ils.org Git - Evergreen.git/commit
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)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Fri, 15 Jul 2011 22:27:30 +0000 (18:27 -0400)
commit80719637f3bb1e61c24ddc0f2f6001dd9fa4392e
treec21db5b49c95eecfbc2226d1c7c84d2f998a624f
parent56005d6684b42d6b15ec982c48e9d77a96d1858d
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