Fix result count

This commit is contained in:
2022-04-19 21:42:37 +02:00
parent 72f5311d7a
commit dad33189aa
2 changed files with 9 additions and 6 deletions

View File

@@ -2,7 +2,7 @@
{% block header %}
<h1 class="fw-light">{{ filter | default_if_none:"Search" | title }}: {{ search }}</h1>
<p class="lead text-muted">Results found: {{ rolling_stock | length }}</p>
<p class="lead text-muted">Results found: {{ matches }}</p>
{% endblock %}
{% block pagination %}
{% if rolling_stock.has_other_pages %}