Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Nesting tag count variables don’t take draft status into account.

Status Resolved
Add-on / Version Bloqs 4.2.1
Severity
EE Version 5.3.0

Adam Skiles

Feb 27, 2020

When using

{blocks:children:total_blocks}

it doesn’t take into account the draft status of a block.

Example: I have a parent block of “Media Group” and children blocks of “Media Group Item”. I have 4 blocks total nested - 3 in normal status, and 1 in draft status.

Logically, the count variable should return “3” as that is the actual amount being displayed, but it is returning “4” as that is, technically, the amount of blocks nested.

#1

BoldMinded (Brian)

Thanks for pointing this out. This one I can replicate, so I’ll try to have a fix included with the other issue you reported.

#2

BoldMinded (Brian)

This should be fixed in the last build I sent you, and will be included in the 4.2.3 release.

Login to reply