From 5bff7d66e030a49ffc4fe368e4ee2b591f23adb8 Mon Sep 17 00:00:00 2001 From: Andrew Buss Date: Tue, 19 May 2015 18:12:12 -0700 Subject: [PATCH] change course sorting for sidebar --- flashcards/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flashcards/models.py b/flashcards/models.py index 9c77cf0..da16549 100644 --- a/flashcards/models.py +++ b/flashcards/models.py @@ -327,7 +327,7 @@ class Section(Model): self.user_set.remove(user) class Meta: - ordering = ['-course_title'] + ordering = ['department_abbreviation', 'course_num'] @property def lecture_times(self): -- 1.9.1