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=effec3e2a44c94e696c8996ec30d29a893df940b;p=working%2FEvergreen.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 9766c7f8d3..569c5bf1d2 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,