LP1642036 Repair group member details display error user/blake/LP1642036_Repair_group_member_details_display_error-signoff
authorBill Erickson <berickxx@gmail.com>
Wed, 24 Apr 2019 13:19:40 +0000 (09:19 -0400)
committerblake <blake@mobiusconsortium.org>
Wed, 24 Apr 2019 14:14:37 +0000 (09:14 -0500)
Modify how we apply the grid query to match the expected parameters.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: blake <blake@mobiusconsortium.org>
Open-ILS/web/js/ui/default/staff/circ/patron/app.js

index d007257..c6bef15 100644 (file)
@@ -1076,10 +1076,12 @@ function($scope,  $routeParams , $q , $window , $timeout,  $location , egCore ,
         if (redirect) return;
         // let initTab() fetch the user first so we can know the usrgroup
 
-        grid.setQuery({
-            usrgroup : patronSvc.current.usrgroup(),
-            deleted : 'f'
-        });
+        grid.setQuery = function() {
+            return {
+                usrgroup : patronSvc.current.usrgroup(),
+                deleted : 'f'
+            };
+        };
         $scope.totals.owed = patronSvc.patron_stats.fines.group_balance_owed;
     });