From e69c461a313ea315e86f04af337be263d36cd18c Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 4 May 2016 17:28:53 -0300 Subject: [PATCH] Fix #398 --- parlamentares/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/parlamentares/models.py b/parlamentares/models.py index 6bca49e95..2b59b254c 100644 --- a/parlamentares/models.py +++ b/parlamentares/models.py @@ -306,6 +306,7 @@ class Filiacao(models.Model): class Meta: verbose_name = _('Filiação') verbose_name_plural = _('Filiações') + ordering = ('parlamentar', '-data', '-data_desfiliacao') def __str__(self): return _('%(parlamentar)s - %(partido)s') % {