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: Counting blocks doesn’t take drafts into account

Status Resolved
Add-on / Version Bloqs 4.2.3
Severity
EE Version 5.3.2

Oskar Havsvik

Apr 27, 2020

The total_blocks doesn’t take draft status into account when counting blocks on root level (no nesting involved).

Both

{your_field_name:total_blocks}

and

{your_field_name:total_blocks type="shortname"}

returns 2 when having a bloq field containing two blocks with draft status .

Quite related to https://boldminded.com/support/ticket/2086

#1

BoldMinded (Brian)

Thanks, I’ll take a look at it this week. I thought I had already fixed this.

#2

BoldMinded (Brian)

Comment has been marked private.

Login to reply