LP#1895052: Allow pickup lib to control stalling
authorMike Rylander <mrylander@gmail.com>
Wed, 23 Jun 2021 16:28:39 +0000 (12:28 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 13 Aug 2021 22:02:21 +0000 (18:02 -0400)
commit9d4892061b13e45321116e3eb455479da5d72dba
tree87e17048cc107afbef0b77615348484e9ef308c6
parentffc4d88d14945a3bc822c42b33b46f184a0376c4
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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: John Amundson <jamundson@cwmars.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
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]