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>
Fri, 29 Sep 2017 22:46:52 +0000 (18:46 -0400)
commit2ecb36db8baa1096f7857a61b75d1b6f0ef96d3d
treeaad0aa8a333fa0cfbecfb00fc1ccafbb5bd5c1f1
parenta4112ca2300c92fecf53ad17ba2b26c690544308
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