Fix sort order for slots
This commit is contained in:
parent
d71edf553e
commit
77bc4e42b1
1 changed files with 1 additions and 1 deletions
2
vendor/symposion/schedule/models.py
vendored
2
vendor/symposion/schedule/models.py
vendored
|
@ -184,7 +184,7 @@ class Slot(models.Model):
|
||||||
select_related = ('kind__schedule__section', 'day')
|
select_related = ('kind__schedule__section', 'day')
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
ordering = ["day", "start", "end"]
|
ordering = ["day", "kind__schedule", "start", "end"]
|
||||||
verbose_name = _("slot")
|
verbose_name = _("slot")
|
||||||
verbose_name_plural = _("slots")
|
verbose_name_plural = _("slots")
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue