From 32f4ae13e367754e49658a8a9a24c6e80806c5a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Wed, 15 Aug 2018 00:17:03 +0200 Subject: [PATCH] Add some more ordering to TeamTask. --- src/teams/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/teams/models.py b/src/teams/models.py index f0664dc2..1dbfae99 100644 --- a/src/teams/models.py +++ b/src/teams/models.py @@ -300,7 +300,7 @@ class TeamTask(CampRelatedModel): ) class Meta: - ordering = ['name'] + ordering = ['completed', 'when', 'name'] unique_together = (('name', 'team'), ('slug', 'team')) def get_absolute_url(self):