From c9f35ca9eeae9530c4545c275f4e8bccd3d2e82c Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 4 Nov 2019 12:23:27 -0300 Subject: [PATCH] HOT-FIX: conserta bug de painel --- sapl/painel/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/painel/views.py b/sapl/painel/views.py index 097c033a2..4f1653269 100644 --- a/sapl/painel/views.py +++ b/sapl/painel/views.py @@ -588,6 +588,8 @@ def get_dados_painel(request, pk): expediente__sessao_plenaria=sessao).order_by('data_hora').last() # Obtém última matéria que foi votada, através do timestamp mais recente + ordem_expediente = None + ultimo_timestamp = None if last_ordem_voto: ordem_expediente = last_ordem_voto.ordem ultimo_timestamp = last_ordem_voto.data_hora