From 81a01557e55241e359f1055b7aa6c2c9fb17989d Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Wed, 18 Aug 2021 17:01:04 -0400 Subject: [PATCH] LP1904036 Checkout grid row selection repair Signed-off-by: Bill Erickson Signed-off-by: Jane Sandberg Signed-off-by: Galen Charlton --- Open-ILS/src/eg2/src/app/staff/circ/patron/checkout.component.ts | 2 ++ Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts | 1 + 2 files changed, 3 insertions(+) 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 8d9ad2c496..d9971b0019 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 @@ -34,6 +34,7 @@ const SESSION_DUE_DATE = 'eg.circ.checkout.is_until_logout'; selector: 'eg-patron-checkout' }) export class CheckoutComponent implements OnInit, AfterViewInit { + static autoId = 0; maxNoncats = 99; // Matches AngJS version checkoutNoncat: IdlObject = null; @@ -195,6 +196,7 @@ export class CheckoutComponent implements OnInit, AfterViewInit { gridifyResult(result: CheckoutResult) { const entry: CircGridEntry = { + index: CheckoutComponent.autoId++, copy: result.copy, circ: result.circ, dueDate: null, diff --git a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts index cf4ce450bd..d0a5118d27 100644 --- a/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts +++ b/Open-ILS/src/eg2/src/app/staff/circ/patron/patron.service.ts @@ -17,6 +17,7 @@ export interface BillGridEntry extends CircDisplayInfo { } export interface CircGridEntry { + index: number; title?: string; author?: string; isbn?: string; -- 2.11.0