Forum
Perch Advanced Filtering
Hey,
I need to do some advanced collection filtering within the Collection API. Something like the following expression:
(var=1 OR var2=2) AND var3=3
I'm 95% sure at the moment this isn't possible, right? I've needed it quite a few times, and I'd love this to be added. It's something I've spoken to a few developers about, and there's been a few forum mentions too.
Are my suspicions correct here, it's not possible currently? If not, is it something that could be added in the near future?
Cheers, Ryan.
Ah I can see this being quite handy.
Not sure what your use case is, but the use case I often come across is when filtering for similar items since you also need to exclude the base item too.
On a real estate website for instance, on a property detail page you may want to display similar properties that are:
So if I were to use a similar expression to yours, it would be
That's exactly my use case too, Hussein.