JBAS-2006 Hold shelf expire date speed up
authorBill Erickson <berickxx@gmail.com>
Tue, 27 Mar 2018 15:38:40 +0000 (11:38 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit08691dec25786c8e7fa1474e9f6a364c3be537c7
treebc26a2145fb07af7fc80f1add88ae1c33a3d8403
parent65b4c4c929c896bf86989a57c3ae577befe85e65
JBAS-2006 Hold shelf expire date speed up

Move the hold shelf expire date calculation into a new set of utility
functions and refactor to avoid excess DB calls for overall speedups.

Adds a new open-ils.actor.org_unit.open_day_range API call for testing
the new code and for possible future use.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Actor/ClosedDates.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/AppUtils.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm