LP1904036 Group details API call repair
authorBill Erickson <berickxx@gmail.com>
Tue, 27 Apr 2021 17:33:20 +0000 (13:33 -0400)
committerGalen Charlton <gmc@equinoxOLI.org>
Fri, 28 Oct 2022 00:13:33 +0000 (20:13 -0400)
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Jane Sandberg <js7389@princeton.edu>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/eg2/src/app/staff/circ/patron/group.component.ts

index 33435ed..a62a153 100644 (file)
@@ -78,7 +78,7 @@ export class PatronGroupComponent implements OnInit {
             {authoritative: true})
         .pipe(concatMap(u => {
 
-            const promise = this.patronService.getVitalStats(u.id())
+            const promise = this.patronService.getVitalStats(u)
             .then(stats => {
                 this.totalOwed += stats.fines.balance_owed;
                 this.totalOut += stats.checkouts.total_out;