From 3319181649539793cfe9f8b8cfa55bdf402b77e1 Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Fri, 9 Aug 2019 10:55:09 -0300 Subject: [PATCH] =?UTF-8?q?Fix=20#2921=20-=20Ordena=20Audi=C3=AAncias=20P?= =?UTF-8?q?=C3=BAblicas=20pela=20data?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/audiencia/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/audiencia/views.py b/sapl/audiencia/views.py index 82e921469..67b9ea656 100755 --- a/sapl/audiencia/views.py +++ b/sapl/audiencia/views.py @@ -21,7 +21,7 @@ class AudienciaCrud(Crud): class BaseMixin(Crud.BaseMixin): list_field_names = ['numero', 'nome', 'tipo', 'materia', 'data'] - ordering = 'nome', 'numero', 'tipo', 'data' + ordering = '-data', 'nome', 'numero', 'tipo' class ListView(Crud.ListView): paginate_by = 10