Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Global Search] Fix convertTagNameToId to use lowercase values (elast…
…ic#196819) ## Summary This PR fixes a bug which caused mixed case tags to not be found in global search. Fixes: elastic#196168 The `allTags` argument contains tags with names in the original case they were created but the `tagName` argument passed in [search_bar.tsx:180](https://github.com/elastic/kibana/blob/main/x-pack/plugins/global_search_bar/public/components/search_bar.tsx#L180) is lowercase. Since you can't have tags with the same name but different casing, converting them to lowercase is safe. I've also added lowercase conversion to `tagName` argument in case this function gets called somewhere else and the input is not lowercase. (cherry picked from commit b495c37)
- Loading branch information