JBAS-826 Revert custom hold counts part I
authorBill Erickson <berickxx@gmail.com>
Mon, 6 Feb 2017 21:36:16 +0000 (16:36 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
Teach the API to call the stock holds-per-record counting code,
bypassing the custom KCLS code.

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

index 82c0b2a..2cb5cb9 100644 (file)
@@ -4235,7 +4235,7 @@ sub change_hold_title_for_specific_holds {
 }
 
 __PACKAGE__->register_method(
-    method    => 'rec_hold_count_kcls',
+    method    => 'rec_hold_count',
     api_name  => 'open-ils.circ.bre.holds.count',
     signature => {
         desc => q/Returns the total number of holds that target the
@@ -4253,7 +4253,7 @@ __PACKAGE__->register_method(
 );
 
 __PACKAGE__->register_method(
-    method    => 'rec_hold_count_kcls',
+    method    => 'rec_hold_count',
     api_name  => 'open-ils.circ.mmr.holds.count',
     signature => {
         desc => q/Returns the total number of holds that target the