]> git.evergreen-ils.org Git - working/Evergreen.git/commit
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>
Wed, 21 Feb 2018 21:56:11 +0000 (16:56 -0500)
commit1438791250621e5f089b2b1ed9292862d6c4fbcd
tree9e4f22bc7db01668e0ddf09b521207b340934eeb
parente70d5917f50e195b2f3b456c9d420a8c06e94823
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