I'm tying to use groups in a Query to get pages by Tags. I want to select the members that match at least 1 item in both Group 1 and Group 2 so, like this:
( A or B ) AND ( 1 or 2 )
My query is successful and gives expected results when I supply a single item to the first pair ( A or B ) and multiple values to the second pair, but if I supply multiple values to the first pair I get no results instead of additive results.
I'm using AEM 6.1 (upgrade soon!).
The predicate strings are nearly identical so I'm wondering if I'm using the "x_group.p.or = true" correctly or in the right places. Below are the two queries I'm generating. How can I fix my query to achieve ( A or B ) AND ( 1 or 2 )?