-
Notifications
You must be signed in to change notification settings - Fork 15
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
Error in query: ER_BAD_FIELD_ERROR #1
Comments
it works when I define at least one filter... so it looks like the problem is the building of the query when there is no filter assigned to the field |
This shouldn't be the case. Could you provide more info, what is the directus version and db type. |
Directus version: 9.10.0 I think the problem is in https://github.com/dimitrov-adrian/directus-extension-tags-m2m-interface/blob/main/src/interface.vue at #273 if props.filter is not set if props.filter is not set this is the request that is being generated: /items/tag?limit=10&fields[]=id&fields[]=name&filter={"_and":[{},false,{"name":{"_contains":"test"}}]}&sort=-id |
Yes indeed. Thanks for the catch |
thank you for the quick fix! |
Hi!
I added the interface to a m2m-field and get the following error in the console:
what is the "_eq"-field that the query is trying to filter for?
The text was updated successfully, but these errors were encountered: