fix adding new holdings subfield mappings
authorGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 22:02:29 +0000 (18:02 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Wed, 25 Mar 2020 22:02:29 +0000 (18:02 -0400)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/provider/provider-holdings.component.html

index 2caac69..1f6c354 100644 (file)
@@ -22,7 +22,7 @@
   <eg-combobox
     [startId]="record[field.name]()"
     [required]="field.isRequired()"
-    (onChange)="record[field.name]($event)"
+    (onChange)="record[field.name]($event.id)"
     [allowFreeText]="false">
     <eg-combobox-entry entryId="quantity" entryLabel="Quantity" i18n-entryLabel></eg-combobox-entry>
     <eg-combobox-entry entryId="estimated_price" entryLabel="Estimated Price" i18n-entryLabel></eg-combobox-entry>