You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When configuring the module to search on integer type fields, the generated URL's contain invalid queries: Invalid query. "integer" field type does not contain the "_icontains" filter operator.
In case the string comparison is out of reach for integer fields (because of the DB adapter), I'd say it should use the _eq filter, but I'm not a knex expert.
To Reproduce
See screenshot below for an example setup. This setup works as expected but toggling 'ID' as a field to enable search on results in the above message. Both when searching using the cmd+K command pallet, as well as when using the search icon.
Directus Version
v11.4.0
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered:
Extension
Something else
Describe the Bug
When configuring the module to search on integer type fields, the generated URL's contain invalid queries:
Invalid query. "integer" field type does not contain the "_icontains" filter operator.
In case the string comparison is out of reach for integer fields (because of the DB adapter), I'd say it should use the
_eq
filter, but I'm not a knex expert.To Reproduce
See screenshot below for an example setup. This setup works as expected but toggling 'ID' as a field to enable search on results in the above message. Both when searching using the cmd+K command pallet, as well as when using the search icon.
Directus Version
v11.4.0
Hosting Strategy
Self-Hosted (Docker Image)
The text was updated successfully, but these errors were encountered: