Be sure to checkout our newest add-on Speedy!

EE compatibility updates:

  • Publisher is EE5 compatible, but it does not currently support the Fluid field.

ExpressionEngine.com licenses:

  • 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)

Apr 27, 2020

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

#2

BoldMinded (Brian)

May 01, 2020

Comment has been marked private.

Login to reply

Contact

For add-on support, please use the Support section. General inquries and pre-sale questions can be sent to support@boldminded.com.