-
-
-
+
+
+
+
+
+
+
+
+
+ {% for domain in top_domains %}
+
+ {% endfor %}
@@ -129,6 +140,14 @@
Latest Issues
+
+
+
diff --git a/website/views.py b/website/views.py
index a4708b6d4..99bed06a5 100644
--- a/website/views.py
+++ b/website/views.py
@@ -784,6 +784,7 @@ def get_context_data(self, **kwargs):
context["hunts"] = Hunt.objects.values("id","name").filter(is_published=True,result_published=False)
context["report_on_hunt"] = False
+ context['top_domains'] = Issue.objects.values("domain__name").annotate(count=Count('domain__name')).order_by("-count")[:30]
return context