Error
For some time, we have displayed the Comment Count on each Prayer Request in the Prayer Request List block. We did this with a custom column, with the following Lava:
{% assign size = Row.Id | Notes:'2' | Size %}{% if size > 0 %} <span class="badge">{{ size }}</span>{% endif %}
However, doing this slows the block's load time significantly because, when viewing a large number of prayer requests (such as viewing expired requests) the block pulls back thousands of rows, running this lookup on each row.
It would be nice if a comment count could be displayed in this list block that could be done in one efficient query instead of per-row lava.
Cultivate your ideas for maximum impact with these helpful submission tips that will increase the chances of your brilliant concepts becoming reality.