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=refs%2Fheads%2Fuser%2Fberick%2Flp1860275-ang-cat-add-mono-part;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 --- 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,