From: Bill Erickson Date: Tue, 2 Mar 2021 23:01:41 +0000 (-0500) Subject: LP1904036 Update stats after checkout; quite warning X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=1476b8508ebaa9b30397e504ca067056b7cccd16;p=evergreen%2Fmasslnc.git LP1904036 Update stats after checkout; quite warning Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts index 9a7abdef70..569b21264f 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts @@ -210,6 +210,9 @@ export class CheckoutComponent implements OnInit, AfterViewInit { this.context.checkouts.unshift(entry); this.checkoutsGrid.reload(); + + // update summary data + this.context.refreshPatron(); } noncatPrompt(): Observable { diff --git a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts index 9c6a9a3bba..a90d6e6ea4 100644 --- a/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/share/holds/grid.component.ts @@ -223,7 +223,8 @@ export class HoldsGridComponent implements OnInit { cp_barcode: row => (row.cp_barcode == null) ? '' : row.cp_barcode, current_item: row => row.current_copy ? row.cp_barcode : '', requested_item: row => this.isCopyHold(row) ? row.cp_barcode : '', - ucard_barcode: row => row.ucard_barcode + ucard_barcode: row => row.ucard_barcode, + hold_status: row => row.hold_status // TODO labels }; }