hook up selected value for comboboxes for acq search form
authorGalen Charlton <gmc@equinoxinitiative.org>
Mon, 20 Jan 2020 17:13:24 +0000 (12:13 -0500)
committerGalen Charlton <gmc@equinoxinitiative.org>
Mon, 20 Jan 2020 17:13:24 +0000 (12:13 -0500)
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/staff/acq/search/acq-search-form.component.html

index b658250..0580d41 100644 (file)
@@ -41,6 +41,7 @@
       </eg-org-select>
       <eg-combobox *ngIf="searchTermDatatypes[t.field] == 'link'"
         [idlClass]="searchFieldLinkedClasses[t.field]"
+        [selectedId]="t.value1"
         (onChange)="t.value1 = $event ? $event.id : ''">
       </eg-combobox>
       <eg-date-select *ngIf="searchTermDatatypes[t.field] == 'timestamp' && t.op != '__age'"