From 9cb07b287467145ebb1d2f079da6426f3c984138 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Thu, 12 Feb 2015 17:56:03 +0100 Subject: [PATCH] fix list count --- telemeta/views/home.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telemeta/views/home.py b/telemeta/views/home.py index e5f3008c..995c46ee 100644 --- a/telemeta/views/home.py +++ b/telemeta/views/home.py @@ -414,5 +414,5 @@ class SearchView(ListView): context['corpus_num'] = self.corpus.count() context['fonds_num'] = self.fonds.count() context['type'] = self.type - context['count'] = self.object_list.count() + context['count'] = self.object.count() return context -- 2.39.5