sort events by datetime then label (#13172)

This commit is contained in:
Frédéric Péters 2016-09-13 19:06:39 +02:00
parent 71b7130445
commit aac59de1c5
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class Event(models.Model):
meeting_type = models.ForeignKey(MeetingType, null=True)
class Meta:
ordering = ['agenda', 'start_datetime']
ordering = ['agenda', 'start_datetime', 'label']
def __unicode__(self):
if self.label: