From af77efc3fb6e4cb208a5b80afe193ee81e2e5709 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