LP 1694058: Add backend code to allow multiple hold placement.
authorJason Stephenson <jason@sigio.com>
Wed, 9 Aug 2017 01:23:44 +0000 (21:23 -0400)
committerKathy Lussier <klussier@masslnc.org>
Fri, 17 Nov 2017 00:16:35 +0000 (19:16 -0500)
commitfcfaf9be5fbf6569304a0c445a1e27da77ef6dd9
treecefab7729e920931b7d9448cbd304886a547c400
parentc0b1748be1561f295076548ad05a8d58bcafd530
LP 1694058: Add backend code to allow multiple hold placement.

We add a constant for the circ.holds.max_duplicate_holds setting.

We modify Holds.pm to check if we're placing a title or metarecord
hold, that we have the CREATE_DUPLICATE_HOLDS permission, and that we
haven't placed more than the maximum allowed number of duplicate holds
before returning the HOLD_EXISTS event.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/Const.pm