Forum Academy Marketplace Showcase Pricing Features

Repeating Group Collapse if empty

Hi all,

What I have here is a repeating group that isn’t collapsing the way I want it to.

The space is there because the “comment” section is hidden if the post contains 0 comments.

How do i move the second post up according to the size of the post above it? Thank you!

I’d recommend filtering the input list to the RG.
The RG’s data can be 'Do a Search for posts : filtered" (comments:count>0)

It worked! I put it in the conditions rather than the data source. Could you explain why this works and not just a simple search for comments > 0 ?