15069: Fixes bug on advanced search UI disallowing duplicate tags.
authorLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 19 Nov 2019 17:04:59 +0000 (14:04 -0300)
committerLucas Di Pentima <ldipentima@veritasgenetics.com>
Tue, 19 Nov 2019 17:04:59 +0000 (14:04 -0300)
commitc2203b1706178b03dca89376f4cef84ccd882538
tree2536543902c66f35782816785970a734ec4b144f
parentc33dec559093730850c578cb37e0606d33a9ca8a
15069: Fixes bug on advanced search UI disallowing duplicate tags.

When the user added properties with the same key as a search criteria, the
UI used to list them all, because the form saves them as a FieldArray and
they were being pushed to the array when clicking on the Add button.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <ldipentima@veritasgenetics.com>
src/store/search-bar/search-bar-actions.ts
src/views-components/search-bar/search-bar-advanced-properties-view.tsx