Replies: 1 comment
-
It's ok, |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I try to add a filter within my resource that will search on several fields.
I tried to use
ApiFilter
withPartialSearchFilter
but the InvalidArgumentException is throw because the Laravel filters doesn't extendApiPlatform/Metadata/FilterInterface
I tried to use the QueryParameter but it seem impossible to search on multiples properties.
Anyone have an idea how to search in the book title or in the book reference in this resource ?
I use the key
search
in the my query (mywebsite.com/api/books?search="Azerty"
) but it could be anything likeq
thanks
Beta Was this translation helpful? Give feedback.
All reactions