Jekyll where filter, with "or" operator

I would like to use the where filter with an or operator, is that possible? I can’t get it to work. I have tried:

const content = {{ site.content_pages | where:"status","coming" | where:"status","ongoing" }}

A page can have one of three different statuses “coming”, “ongoing” or “past” which I define in the markup. I would like to include both coming and ongoing in my filter. Or exclude “past”. Any ideas?

Not possible with where filter.
However, you could utilize where_exp filter if you’re using Jekyll 4.x.

Okey thanks anyway! I’m not using jekyll 4.