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
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
-
Hello everyone,
I am trying to use an AllowedFilter that it is a scope.
I try to send a komma separated list of values to the scope, but instead I only get the first.
/api/users?filter[myFilter]=31,34
In my scope only the first value gets passed.
Means only the 31 value comes through to the scope.
Do you have any idea what i am doing wrong?
In the documentation is said that I can use a komma separated list of values:
https://spatie.be/docs/laravel-query-builder/v5/features/filtering#content-scope-filters
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions