As designed Page criteria combination issue

Siropu

Well-known member
Affected version
2.2.7
If you want to show a notice and select some options from Media categories and some from Resource categories or Nodes (combination doesn't meter), page criteria doesn't work. The current page criteria logic is looking to match all selections even though they are from different sections (Gallery, Resource, Nodes) in order to return true and that's impossible.
 
That's just the way criteria works. The conditions are AND rather than OR. It doesn't attempt to validate or filter out invalid or conflicting combinations.

It's not exclusive to page criteria. For example you can set user criteria "is logged in" and "is guest".

For this to work correctly you would need to create separate notices for each category/node you would like it to display.
 
Back
Top Bottom