From 15c2687f8f85040ff99557c4118411e93464342e Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Tue, 14 Dec 2021 11:06:52 -0500 Subject: [PATCH] LP#1942220: combobox: reset if idlQueryAnd changes Signed-off-by: Galen Charlton Signed-off-by: Ruth Frasur Signed-off-by: Bill Erickson --- Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts index 1385756ced..c9885bf428 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts @@ -354,6 +354,12 @@ export class ComboboxComponent implements ControlValueAccessor, OnInit, AfterVie this.selected = null; this.ngOnInit(); } + if ('idlQueryAnd' in changes) { + this.asyncIds = {}; + this.entrylist.length = 0; + this.selected = null; + this.ngOnInit(); + } } } -- 2.11.0