From 33e2bbabf44db9232bee8f2ad8f4efc63c741550 Mon Sep 17 00:00:00 2001 From: Michael Hiiva Date: Sat, 26 Jun 2021 13:41:45 -0700 Subject: [PATCH] Removed elab_date from top_players. --- agagd/agagd_core/views/beta/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/agagd/agagd_core/views/beta/index.py b/agagd/agagd_core/views/beta/index.py index 47c839af..3a2b0754 100644 --- a/agagd/agagd_core/views/beta/index.py +++ b/agagd/agagd_core/views/beta/index.py @@ -36,12 +36,12 @@ def frontpage(request): top_10_dan = ( top_10_dan_kyu.filter(rating__gt=0) .filter(elab_date__gte=datetime.datetime.now() - datetime.timedelta(weeks=260)) - .order_by("-elab_date", "-rating")[:10] + .order_by("-rating")[:10] ) top_10_kyu = ( top_10_dan_kyu.filter(rating__lt=0) .filter(elab_date__gte=datetime.datetime.now() - datetime.timedelta(weeks=260)) - .order_by("-elab_date", "-rating")[:10] + .order_by("-rating")[:10] ) # Index Tables