-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filtering by a role that contains space does not return result in the Users UI #13276
Comments
Is this could be done in |
I think it has to be done on the UI because space would used to separate filters. |
How when we surround the value with double quote it works, needs to check if this part of YesSQL filter or not |
When you wrap the string with double quotes, the whole string including a space is treated as a value. If you don't, a space is used to separate each filter I believe. |
Exactly, but I'm asking who evaluate that if it's YesSQL that means we could wrap the value with double quote from OC |
I think in OC we use the YesSql parser |
Describe the bug
The role filter in the Users UI does not return records if you filter for a role name that contains a space.
reason that breaks is we create a filter that looks like this
role:role name
but it should berole:"role name"
To Reproduce
Steps to reproduce the behavior:
I am guessing this issue exists into all any filter “including contents filter” where the filterable value contains a space. We should wrap every filterable value with double quote when the value contains at least one space.
The text was updated successfully, but these errors were encountered: