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
Cannot Add Custom Field of Type Array to Search Filter #17
Comments
How are you going to convert list of items into SQL expression? |
Not sure. Do have any ideas? |
To create complex expression like (field_name LIKE '%'{VALUE_1}'%') OR (field_name LIKE '%'{VALUE_2}'%') This looks bit hard coded. P.S. I think it should be coded in Base SearchManager. |
Not really hard coded though as it's a generated query from the search parameters. |
Also doesn't need % fuzzy search as the parameters to the query come from the field declaration, so 100% match only |
Hmm forget that last comment :) |
But anyway, this feature should be there, even if not perfect. The field type is allowed, so searching MUST be allowed otherwise it's pretty useless. |
Sent pull request |
Allow filtering array field types. fixes #17
reported here: http://forum.espocrm.com/bug-reports/2913-cannot-add-custom-field-of-type-array-to-search-filter?routestring=forum/bug-reports/2913-cannot-add-custom-field-of-type-array-to-search-filter
Leaving this as placeholder as I need this and so will make up a PR
The text was updated successfully, but these errors were encountered: