WzSearchBar component malfunction with suggestions that contain " and " or " or " #3325
Labels
component/search-bar
Issues related to the App's search bar component
type/enhancement
Enhancement issue
Description
The
WzSearchBar
component can't search when the suggestions values contain the " and " or " or " string.It is because the query is split by these strings into substrings and provokes a malfunction in the search bar. As consequence, it displays bad suggestions and can't search because thinks the query is not completed.
This could be caused by the regular expression in https://github.com/wazuh/wazuh-kibana-app/blob/4.2-7.10/public/components/wz-search-bar/lib/q-interpreter.ts#L34
Steps to reproduce
Agents
and type in the search bar something likename=wazuh and
Screenshots
The text was updated successfully, but these errors were encountered: