Query Images AND Videos on file field

Hello,

I’m searching everywhere but can’t find my answer to this simple problem:
How could I say in query:

query: page.images + page.videos ?

Thanks a lot :slight_smile:

I haven’t tried it but it should work like this:

page.files.filterBy('type', 'in', ['image', 'video'])
1 Like

It works fine! Thanks!