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>
Signed-off-by: Jason Stephenson <jason@sigio.com>
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;
});