Allow choice of placing hold despite age protect user/tsbere/hold_age_protected
authorThomas Berezansky <tsbere@mvlc.org>
Tue, 20 Sep 2011 14:27:51 +0000 (10:27 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 4 Jan 2012 18:13:35 +0000 (13:13 -0500)
commit9da7fa1f23e7bb7e3adf47eded6b1299491487e6
tree434abc963ba71cdaee3d33e8c66a0bd01781a03f
parent1579acb673f1840c9171ea788e4dfa98ce77d54e
Allow choice of placing hold despite age protect

This alters the backend to watch when so much as one copy failed only due
to age protection. If so, a flag is set and returned back up the calling
tree for examination.

In JSPac when the flag is set an alternate confirm message is shown.

In TTPac when the flag is set the failure message is changed and override
is always allowed for the hold in question.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Account.pm
Open-ILS/src/templates/opac/parts/place_hold_result.tt2
Open-ILS/web/opac/locale/en-US/opac.dtd
Open-ILS/web/opac/skin/default/js/holds.js
Open-ILS/web/opac/skin/default/xml/common/holds.xml