LP#1895052: Allow pickup lib to control stalling
authorMike Rylander <mrylander@gmail.com>
Wed, 23 Jun 2021 16:28:39 +0000 (12:28 -0400)
committerJason Stephenson <jason@sigio.com>
Fri, 13 Aug 2021 13:16:07 +0000 (09:16 -0400)
commit13b462eba1fd59c6b71f5cb7f1fa3ed1bb57eacc
treeba29f4cd1a675f515cf685db7ca153f09c232c25
parent76b877dcb9e5e50d83f238261c143f8448611916
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>
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]