LP#1749970 Fix paging of pending patrons
authorJeff Godin <jgodin@tadl.org>
Tue, 2 Apr 2019 16:49:18 +0000 (12:49 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 21 Oct 2019 16:54:37 +0000 (12:54 -0400)
Fix paging of pending patrons by passing a count and offset to the
backend API call.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/web/js/ui/default/staff/circ/patron/pending.js

index 59b1556..7cbe686 100644 (file)
@@ -90,7 +90,8 @@ function($scope , $q , $routeParams , $window , $location , egCore , egGridDataP
         egCore.net.request(
             'open-ils.actor',
             'open-ils.actor.user.stage.retrieve.by_org',
-            egCore.auth.token(), $scope.context_org.id()
+            egCore.auth.token(), $scope.context_org.id(),
+            count, offset
 
         ).then(
             deferred.resolve, null,