From c5f5c1824c37843e06494a30203705cac1f8c891 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Wed, 21 Sep 2016 10:07:38 -0300 Subject: [PATCH] Conserta a ordenacao das sessoes legislativas --- sapl/sessao/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 47d3b39e5..6112307f1 100644 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -2012,7 +2012,7 @@ class PesquisarSessaoPlenariaView(FilterView): qs = self.get_queryset() qs = qs.distinct().order_by( - 'legislatura__id', 'data_inicio', 'numero') + '-legislatura__id', '-data_inicio', '-numero') kwargs.update({ 'queryset': qs,