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, 24 Jun 2021 16:05:14 +0000 (12:05 -0400)
commite6ea6847951b261b2601843f3d3cc2e36283047d
treef621017ce548f1c9d8f5524f8f5dc92ac46a03ed
parent8b6765e3c0df78e46db0a4bdf72efbb7158e4fcc
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]