Fix counter on outstanding invoices page ('length' property doesn't work because of the custom SQL query)

This commit is contained in:
David Taylor
2016-05-29 22:04:48 +01:00
parent a769486c9c
commit 0ff0d06eaf
2 changed files with 2 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ Outstanding Invoices
{% endblock %}
{% block heading %}
Outstanding Invoices ({{object_list|length}} Events, £ {{ total|floatformat:2 }})
Outstanding Invoices ({{ count }} Events, £ {{ total|floatformat:2 }})
{% endblock %}
{% block description %}