]> git.parisson.com Git - telemeta.git/commitdiff
cleanup
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 12 Feb 2015 17:06:22 +0000 (18:06 +0100)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 12 Feb 2015 17:06:22 +0000 (18:06 +0100)
telemeta/views/home.py

index 9d3e4e99cc93c855a1c7925271a45a5ffa92d34a..48d33b06813335d2a2313eba4c70871330d11991 100644 (file)
@@ -415,6 +415,5 @@ class SearchView(ListView):
         context['corpus_num']  = self.corpus.count()
         context['fonds_num'] = self.fonds.count()
         context['type'] = self.type
-        context['count'] = self.objects.count()
-        print self.objects.count()
+        context['count'] = self.object_list.count()
         return context