Quantcast
Channel: Developer to developer
Viewing all articles
Browse latest Browse all 9076

How to Group Property Criteria in Criteria Search

$
0
0

Currently I want to use criteria search to filter content, the filters are page types and keywords. And I want to do something like this:

(typeCri1 || typeCri2 || typeCri3) && (textCri1 || text Cri2)

However it seems that the CriteriaCollection cannot be nested, which make my filter logic to:

typeCri1 || typeCri2 || typeCri3 && textCri1 || text Cri2

Which is completely wrong. So what should I do to achieve the grouping of criteria I need?


Viewing all articles
Browse latest Browse all 9076

Trending Articles