From 2242244c4b8a917c591aff15813c73705a136232 Mon Sep 17 00:00:00 2001 From: Karl Hobley Date: Wed, 26 Aug 2015 15:57:03 +0100 Subject: [PATCH] Show total count of found snippets on snippet listing as well --- .../templates/wagtailsnippets/snippets/results.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wagtail/wagtailsnippets/templates/wagtailsnippets/snippets/results.html b/wagtail/wagtailsnippets/templates/wagtailsnippets/snippets/results.html index 09edc8b120..3bb5ec29f3 100644 --- a/wagtail/wagtailsnippets/templates/wagtailsnippets/snippets/results.html +++ b/wagtail/wagtailsnippets/templates/wagtailsnippets/snippets/results.html @@ -2,7 +2,7 @@ {% if items %} {% if is_searching %}

- {% blocktrans count counter=items|length %} + {% blocktrans count counter=items.paginator.count %} There is one match {% plural %} There are {{ counter }} matches