Completing Force/Recall Holds user/tsbere/copy_holds
authorThomas Berezansky <tsbere@mvlc.org>
Thu, 6 Oct 2011 13:13:38 +0000 (09:13 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 4 Jan 2012 18:06:32 +0000 (13:06 -0500)
commit334e4ff3c3ea191ae978ef3eeff45c0c40d468d8
treedf2a317b29f374737605cfa482edb9e8c6084fd4
parent1579acb673f1840c9171ea788e4dfa98ce77d54e
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>
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]