From c54142446a25095a3695c7b4e0742a4deb6305b5 Mon Sep 17 00:00:00 2001 From: Joshua Laymon Date: Wed, 20 Aug 2025 03:03:56 +0000 Subject: [PATCH] Update web/core/views.py --- web/core/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/core/views.py b/web/core/views.py index 0b1b58e..d80f3c7 100644 --- a/web/core/views.py +++ b/web/core/views.py @@ -391,7 +391,7 @@ def stats_page(request): for subj in Entry.objects.exclude(subject="").values_list("subject", flat=True): for tag in [t.strip() for t in subj.split(",") if t.strip()]: counts[tag.lower()] += 1 - top_subjects = [{"name": n.title(), "count": c} for n, c in counts.most_common(10)] + top_subjects = [{"name": n.title(), "count": c} for n, c in counts.most_common(20)] return render( request,