Completing Force/Recall Holds
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 6 Oct 2011 13:13:38 +0000 (09:13 -0400)
committerMike Rylander <mrylander@gmail.com>
Tue, 10 Jan 2012 20:11:27 +0000 (15:11 -0500)
commit39547dfaf09f713bce63a3b9c5060d5bae1a3538
tree6ea24e08e8a8d83e2cc9f54a8a3d61b406603037
parent3cc27e764c9697e878ac9e0bff0db898f54e15b6
Completing Force/Recall Holds

Add support for the Force and Recall hold types to be something other than
just aliases of Copy holds.

Both holds are made to cut in line over *all* other holds and both ignore
all hold rules, including copy, location, and status holdable flags.

Recall holds, when they reach their destination, will be flagged to be sent
to cataloging.

In addition, to place either kind of hold you need a new permission at the
copy's circulation library:

COPY_HOLD_FORCE for force holds
COPY_HOLD_RECALL for recall holds

Also, some re-ordering of logic should result in a fix for issues with
capturing holds as transits and/or suppressing holds and the hold shelf
logic.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/perlmods/lib/OpenILS/SIP/Patron.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.copy_holds.sql [new file with mode: 0644]