Selecting a row in the webstaff Patrons With Negative Balances grid now
only selects that patron, instead of all patrons.
This was the result of the grid not having a correctly set unique
identifier attribute.
Signed-off-by: Bill Erickson <berickxx@gmail.com>
'open-ils.actor',
'open-ils.actor.users.negative_balance',
egCore.auth.token(), $scope.context_org.id())
- .then(deferred.resolve, null, deferred.notify);
+ .then(deferred.resolve, null, function(blob) {
+ // Give the grid a top-level identifier field
+ blob.usr_id = blob.usr.id();
+ deferred.notify(blob)
+ });
return deferred.promise;
}