Float active timers to top.

This commit is contained in:
Christopher Charbonneau Wells 2017-08-18 01:56:23 -04:00
parent f08ec94e3c
commit f15894fac2
1 changed files with 1 additions and 1 deletions

View File

@ -121,7 +121,7 @@ class Timer(models.Model):
class Meta:
default_permissions = ('view', 'add', 'change', 'delete')
ordering = ['active', '-start']
ordering = ['-active', '-start', '-end']
def __str__(self):
return self.name or 'Timer #{}'.format(self.id)