From: Bill Erickson Date: Tue, 21 Jan 2020 15:07:30 +0000 (-0500) Subject: LP1860275 Staff catalog add mono part repair X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=de3d6edee1cc948238c443772ff9b278d541a1c1;p=evergreen%2Fmasslnc.git 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 --- 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,