LP#1749970 Fix paging of pending patrons user/jeff/lp1749970_fix_pending_patron_paging
authorJeff Godin <jgodin@tadl.org>
Tue, 2 Apr 2019 16:49:18 +0000 (12:49 -0400)
committerJeff Godin <jgodin@tadl.org>
Tue, 2 Apr 2019 16:54:05 +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>
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,