I am trying to add a condition to a Query block
setting it as Query: Has Items=true
but it seems to never show the block even if the query does return items that I can see before setting the condition.
Am I using it the right way or is it just no available?
I can confirm there is a bug with the “has items” condition.
Moving this to confirmed bugs and renaming the topic to Bug with “has items” visibility condition.
Please bear with us while we find a fix for this.​
Thank you for reporting this and sorry for the inconvenience.​
if set Has Items true: doesn’t show the block even if if gives results
if set Has Items false: shows the block even when it doesn’t give any result
Thanks for getting back on this one.
Can you confirm that this is only when applied to the Query block itself? All children should properly respond to the conditions.
Cheers,
I am applying the condition only to the query block, imagining that the visibility will be applied to the children (has the query block itself doesn’t display anything).
And I still don’t see anything different that what I described earlier.
This should now be addressed in 1.2.9.4.4 for Query Blocks that don’t use Frontend Rendering (The Query block markup is necessary when Frontend Rendering is active).
If you still encounter issues with this, I’d be grateful if you could let me know.