From 43449c9508afb2406fc79a9c001a19d2550679ee Mon Sep 17 00:00:00 2001 From: Sesostris Vieira Date: Wed, 17 Oct 2012 11:54:05 +0000 Subject: [PATCH] =?UTF-8?q?Definir=20que=20a=20changelist=20de=20diagn?= =?UTF-8?q?=C3=B3sticos=20venha=20ordenada,=20por=20padr=C3=A3o,=20pelo=20?= =?UTF-8?q?nome=20da=20Casa=20Legislativa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sigi/apps/diagnosticos/admin.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sigi/apps/diagnosticos/admin.py b/sigi/apps/diagnosticos/admin.py index a435035..ef7e911 100644 --- a/sigi/apps/diagnosticos/admin.py +++ b/sigi/apps/diagnosticos/admin.py @@ -51,6 +51,7 @@ class DiagnosticoAdmin(BaseEntityAdmin): list_display = ('casa_legislativa','getUf', 'data_visita_inicio', 'data_visita_fim', 'responsavel', 'publicado') list_filter = ('publicado', 'data_publicacao', 'data_visita_inicio', 'data_visita_fim') raw_id_fields = ('casa_legislativa',) + ordering = ('casa_legislativa',) eav_fieldsets = [ (u'00. Identificação do Diagnóstico', {'fields': ('responsavel', 'data_visita_inicio', 'data_visita_fim',)}),