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 would like to give it a try. I am thinking of the following approach :
in the constructor of FilterStruct : check if "|" is included in the fieldName, and if yes, then explode it into an array
in apply() method of FilterStruct : if fieldName is an array, then create a $subquery closure applying where/orWhere for the first and subsequent items in the fieldName array and then return $object->where($subquery)
We should able transform this query param:
x_model?filter[x|y][is]=1&filter[z][in]=1,2,3
into this filter
The text was updated successfully, but these errors were encountered: