Question

Photo of Arran France

0

Reporting: Number of Members of a Group

I see in a report there's no default reporting field that gives you the number of members (either active, inactive, or pending). I see there's a Liquid tag. Can I just verify that I can only use other fields so I can't do something like

{% assign count = 0 %}
{% for member in Group.Members %}
{% assign count = countActive | Plus: 1 %}
{% endfor %}

  • Photo of David Leigh

    2

    Arran,

    I currently have a pull request pending to add a Group Report Field "Member Count".
    It does exactly what you have asked, and it should be available in the develop branch sometime soon.

    -David.

     

  • Photo of Jon Edmiston

    0

    Your lava above might work. I think line 3 should be:

    {% assign count = count | Plus: 1 %}

    I think this is a great suggestion though for the Black Book.