LP1860275 Staff catalog add mono part repair
authorBill Erickson <berickxx@gmail.com>
Tue, 21 Jan 2020 15:07:30 +0000 (10:07 -0500)
committerBill Erickson <berickxx@gmail.com>
Fri, 21 Feb 2020 16:44:38 +0000 (11:44 -0500)
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 <berickxx@gmail.com>
Signed-off-by: Tiffany Little <tlittle@georgialibraries.org>
Open-ILS/src/eg2/src/app/staff/catalog/record/parts.component.ts

index 504aa90..58f0de5 100644 (file)
@@ -38,6 +38,10 @@ export class PartsComponent implements OnInit {
         }
     }
 
         }
     }
 
+    get recordId(): number {
+        return this.recId;
+    }
+
     constructor(
         private idl: IdlService,
         private org: OrgService,
     constructor(
         private idl: IdlService,
         private org: OrgService,