From 442bfa85bcd31f64a51713a4e29fd5d8c77ff100 Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 21 Nov 2018 15:41:48 -0200 Subject: [PATCH] Fixes #2390 (#2395) --- sapl/relatorios/views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sapl/relatorios/views.py b/sapl/relatorios/views.py index 260d85a21..3b7ab6957 100755 --- a/sapl/relatorios/views.py +++ b/sapl/relatorios/views.py @@ -1083,8 +1083,7 @@ def get_pauta_sessao(sessao, casa): inf_basicas_dic["nom_camara"] = casa.nome lst_expediente_materia = [] - for expediente_materia in ExpedienteMateria.objects.filter( - data_ordem=sessao.data_inicio, sessao_plenaria=sessao): + for expediente_materia in ExpedienteMateria.objects.filter(sessao_plenaria=sessao): materia = MateriaLegislativa.objects.filter( id=expediente_materia.materia.id).first()