]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1844812 Combobox avoids processing matching entry lists
authorBill Erickson <berickxx@gmail.com>
Fri, 20 Sep 2019 15:31:16 +0000 (11:31 -0400)
committerGalen Charlton <gmc@equinoxinitiative.org>
Tue, 1 Oct 2019 20:47:03 +0000 (16:47 -0400)
commitfafd2dca8f9c8d0e0d98428747174d8a0953ad2b
treed91b95cb71248354db57232fc27e0d5e4fd613db
parent7162dac1873020d95441f896904803e29e2f27c5
LP1844812 Combobox avoids processing matching entry lists

Teach the combobox to only process newly provided entry lists if they
are different from the list already on record for the combobox.

The combobox entry list Input() is responsive to changes in data
throughout the life of the combobox.  As a new entry list is provided,
the component will perform various actions on the list.  However, in
many cases the list provided may be identical the list the component
already has, which can lead to a lot of unnecessary processing and in
some case an infinite loop of inputs and outputs.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
Open-ILS/src/eg2/src/app/share/combobox/combobox.component.ts