From 590b25d5f8ab98c32ac185bcdade30e5c0967e10 Mon Sep 17 00:00:00 2001 From: Tobias Date: Sat, 12 Jan 2019 13:12:21 +1300 Subject: [PATCH] Actually fix slot ordering --- vendor/symposion/schedule/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/symposion/schedule/models.py b/vendor/symposion/schedule/models.py index af5e025c..613d1d4c 100644 --- a/vendor/symposion/schedule/models.py +++ b/vendor/symposion/schedule/models.py @@ -184,7 +184,7 @@ class Slot(models.Model): select_related = ('kind__schedule__section', 'day') class Meta: - ordering = ["day", "kind__schedule", "start", "end"] + ordering = ["day__schedule__section__name", "day", "start" ] verbose_name = _("slot") verbose_name_plural = _("slots")