Add PLACE_UNFILLABLE_HOLD permission user/tsbere/place_unfillable_hold
authorThomas Berezansky <tsbere@mvlc.org>
Sat, 14 Jan 2012 14:58:33 +0000 (09:58 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Thu, 29 Mar 2012 17:16:15 +0000 (13:16 -0400)
commita174f13aec415af9c3b5ab2093fc17eaf8ad765c
tree0c5f006d53e10489f940c292d74d2acbb2c5738f
parent22445e14c338a90fc6f957f2c93f00b628ffaa1b
Add PLACE_UNFILLABLE_HOLD permission

And hook it up in JSPac and TPac.

General idea: If you have the permission you can place holds that will not
fill right now, in general, for any reason.

In TPac, I replaced the previous "check the last failure code" line. The
new permission basically accomplishes the same thing for now, and is less
likely to return different results from placement attempt to placement
attempt. Also, only checking one failure code of potential hundreds didn't
make a lot of sense.

In the event of age protected copies the age protected prompt wins out.

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/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.place_unfillable_hold.sql [new file with mode: 0644]
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