]> git.parisson.com Git - telemeta.git/commitdiff
fix list count
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 12 Feb 2015 16:56:03 +0000 (17:56 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 12 Feb 2015 16:56:03 +0000 (17:56 +0100)
telemeta/views/home.py

index e5f3008cbd44d611da6a7d809d82e5391b402035..995c46eec75afeb8d20da9460c7322730383d933 100644 (file)
@@ -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