JBAS-826 Record hold counts for bib-level only
authorBill Erickson <berickxx@gmail.com>
Mon, 22 May 2017 18:21:05 +0000 (14:21 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commita7ba493048497d4ba4dde193b8704d877d25a994
tree6bc358ab881db9b7d44c5d9a2ddceafcfa14d630
parent242f01c9c4ffb27b206ab196ef73d648f451346b
JBAS-826 Record hold counts for bib-level only

Modify the holds-per-record counting code to only look at title-level
holds, for now anyway.  This is makes the query a lot faster, which
is a concern given that we still see several million API calls to
open-ils.circ.bre.holds.count per day.

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