From 4e0a99bf5edd3a38af29c2563119adfb2b8ba63c Mon Sep 17 00:00:00 2001 From: ulyssesBML Date: Mon, 2 Sep 2019 12:16:06 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX=20-=20Concertando=20erro=20pagina=20de?= =?UTF-8?q?=20tramita=C3=A7=C3=A3o=20em=20comissoes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/comissoes/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sapl/comissoes/views.py b/sapl/comissoes/views.py index 5fa132eab..0b5ca756d 100644 --- a/sapl/comissoes/views.py +++ b/sapl/comissoes/views.py @@ -167,7 +167,7 @@ class ComissaoCrud(Crud): def lista_materias_comissao(comissao_pk): ts = Tramitacao.objects.order_by( - 'materia', '-data_tramitacao', '-id').annotate( + 'materia_id', '-data_tramitacao', '-id').annotate( comissao=F('unidade_tramitacao_destino__comissao')).distinct( 'materia').values_list('materia', 'comissao')