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)
committerJason Stephenson <jason@sigio.com>
Sat, 28 Oct 2017 15:32:27 +0000 (11:32 -0400)
commit1b7188649aedf499bc4250d5516fe3005c334c1a
tree13ad286d1104330b91ff25d77df4d75d29606cd7
parent5da269a0d63c07ccb249ec95b907c544e8f62318
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/Const.pm