Browser: Chrome 116
OS: macOS
URL: Link to a page that illustrates this issue
I’ve been trying to troubleshoot why using the new 1.9.1 display condition {query_results_count:bricksid} on a Related Posts element is not working for me. I’ve carefully copied the 6-character ID of the Related Posts element and used it on its parent Block condition, and set condition to >0. Although there are posts (which I can clearly see in the editor and on the front end when no condition is set), it still hides the block.
To test, I created another block that simply has a post_title element inside, and set this block to have the query, then used its ID in a parent container. When the query is on a block, the conditional display works as expected. When the query is on a Related Posts element, it does not.
I am not sure if this is a Bug or if it is the expected behavior. Please advise.
Also, it seems to me we need a way to distinguish between Published, Draft, Pending, etc in these post query loops. How to exclude drafts from the loop? (sorry, different but somewhat related question,should probably its own ticket).