From 665f3e8a01be247cbc7f67d92ddace4dedd2364a Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Wed, 11 May 2016 09:23:17 -0300 Subject: [PATCH] Ordena Mandato por data_inicio de Legislatura em ordem decrescente --- parlamentares/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parlamentares/views.py b/parlamentares/views.py index 57e42c4a4..10fc9c1f9 100644 --- a/parlamentares/views.py +++ b/parlamentares/views.py @@ -34,7 +34,7 @@ class MandatoCrud(MasterDetailCrud): help_path = '' class ListView(MasterDetailCrud.ListView): - ordering = ('-data_fim_mandato') + ordering = ('-legislatura__data_inicio') class FiliacaoCrud(MasterDetailCrud): model = Filiacao