]> git.evergreen-ils.org Git - Evergreen.git/commit
Add PLACE_UNFILLABLE_HOLD permission
authorThomas Berezansky <tsbere@mvlc.org>
Sat, 14 Jan 2012 14:58:33 +0000 (09:58 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 29 Mar 2012 17:33:07 +0000 (13:33 -0400)
commit99e8fc893a8bf0abc4e1c3b85db06da0742dbbf0
tree38fccf54af9143d46e0ed608f7ca44c4fa98ca5b
parent9982302a1c8007876bfb98642c9e1dc5d2165b40
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>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
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