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
Our query language does not support arrays yet. I think it would be good to convert this to an idea ticket to implement arrays. I'm not sure how complex this would end up though.
@bastianallgeier I actually would leave it here. For us this seems like a feature idea. But I think most developers/users won't directly understand why this should not be possible right now - so rather see it as a bug.
I would love array support in the query language, in particular for the case of filtering by templates. Either as the way described above with filterBy() or with the template() function.
Describe the bug
I'd expect a query in a pages field like this to work:
But this throws the error
"in_array() expects parameter 2 to be array, string given"
Tested with Kirby 3.0.1
The text was updated successfully, but these errors were encountered: