LP#1895052: Allow pickup lib to control stalling
authorMike Rylander <mrylander@gmail.com>
Wed, 23 Jun 2021 16:28:39 +0000 (12:28 -0400)
committerMike Rylander <mrylander@gmail.com>
Thu, 12 Aug 2021 15:28:13 +0000 (11:28 -0400)
commit4bb83b9acfe81ee0e33de84fab0ca8ef4b757bc5
treecb190de74bb0b2fabeb5826fcd4ea07fbc9c6c30
parent203fb1b2cf592d2123972964f2ace7cf1556c308
LP#1895052: Allow pickup lib to control stalling

This commit provides a new YAOUS that, when set, takes precedence over
the current "soft stalling interval" YAOUS.  Instead of limiting capture
to items owned by the pickup library (or the directly targeted item)
based on the context of scanned item's circulating library, it instead
restricts op capture to holds that have a pickup library of the scanning
location when the hold is younger that the interval, base on the context
of the pickup location of each hold.

tl;dr: It allows the pickup library to control op capture stalling
rather than the circulating library of an arbitrary scanned item.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/action.pm
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.stalling-YAOUS.sql [new file with mode: 0644]