From de3d6edee1cc948238c443772ff9b278d541a1c1 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 21 Jan 2020 10:07:30 -0500 Subject: [PATCH] LP1860275 Staff catalog add mono part repair Fixes a bug in the New Monograph Part dialog which prevented passing the bib record ID during the creation process, which resulted in a database error and faulure to create the part. Signed-off-by: Bill Erickson Signed-off-by: Tiffany Little --- .../src/eg2/src/app/staff/catalog/record/parts.component.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts b/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts index 504aa90a36..58f0de56eb 100644 --- a/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts +++ b/Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts @@ -38,6 +38,10 @@ export class PartsComponent implements OnInit { } } + get recordId(): number { + return this.recId; + } + constructor( private idl: IdlService, private org: OrgService, -- 2.43.2