Checkout Fills Related Hold modifications
authorThomas Berezansky <tsbere@mvlc.org>
Mon, 25 Jul 2011 19:26:08 +0000 (15:26 -0400)
committerThomas Berezansky <tsbere@mvlc.org>
Mon, 25 Jul 2011 19:34:14 +0000 (15:34 -0400)
commit4877f9babb79ea20a5a20de7b217820c860c27f7
tree862d6684a0c246103e1ecf2468ed4e72585e9384
parent88ba882614149d699d7b25e25a8eb05fd7abb07b
Checkout Fills Related Hold modifications

Two changes:

1 - Check hold_copy_map for related holds

This removes the "Title or Volume hold only" restriction, allowing any hold type to fill.
This check happens first whenever the option is enabled.

2 - Add new option for *only* checking hold_copy_map.

This allows for non-holdable copies to not fill Title or Volume holds on checkout.

Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Circulate.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql