Choose to retrieve all "article" of site www and blog (see screenshot)
The executed JCR query is:
//element(*, ametys:content)[((@ametys-internal:contentType ='org.ametys.web.default.Content.article') and ((@ametys:site = 'www' or @ametys:site = 'blog') and @ametys-internal:language ='fr' and (((@ametys:site = 'blog') and (not(@ametys:privacy) or @ametys:privacy = 'public')))))]
Because of privacy condition (@ametys:site = 'blog') and (not(@ametys:privacy) or @ametys:privacy = 'public'), only articles of site "blog" are returned