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
I'm playing with the new filter system in ApiPlatform 4.2, especially the OrFilter. It looks amazing!
However, I'm running into an issue with the Doctrine query when I also use the extension. I want to search in name, email, and phone properties. Here is my filter declaration:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm playing with the new filter system in ApiPlatform 4.2, especially the OrFilter. It looks amazing!
However, I'm running into an issue with the Doctrine query when I also use the extension. I want to search in name, email, and phone properties. Here is my filter declaration:
I also use the extension, which filters all queries by the organization. When I try to search records (search: Test), the query looks like
That gives incorrect results. Basically, the result is the same, as I wouldn't use the search filter at all. Is there a way to get a query like
so that the OrFilter can work with other filters/extensions?
Beta Was this translation helpful? Give feedback.
All reactions