From 181191d4f7eaf07b610c7d4171098b804e0a71dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Rodrigues?= Date: Mon, 11 Mar 2019 19:18:30 -0300 Subject: [PATCH] fix #2598 (#2600) --- sapl/sessao/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/sessao/views.py b/sapl/sessao/views.py index 3c7b270ae..a3b77d8f5 100755 --- a/sapl/sessao/views.py +++ b/sapl/sessao/views.py @@ -3736,7 +3736,7 @@ class VotacaoEmBlocoNominalView(PermissionRequiredForAppCrudMixin, TemplateView) voto_parlamentar = VotoParlamentar.objects.filter( ordem=ordens_id[0]) else: - presencas = PresencaOrdemDia.objects.filter( + presencas = SessaoPlenariaPresenca.objects.filter( sessao_plenaria_id=self.kwargs['pk']) expedientes_id = self.request.POST.getlist('marcadas_2') voto_parlamentar = VotoParlamentar.objects.filter( @@ -3751,7 +3751,7 @@ class VotacaoEmBlocoNominalView(PermissionRequiredForAppCrudMixin, TemplateView) voto_parlamentar = VotoParlamentar.objects.filter( ordem=ordens_id[0]) else: - presencas = PresencaOrdemDia.objects.filter( + presencas = SessaoPlenariaPresenca.objects.filter( sessao_plenaria_id=self.kwargs['pk']) expedientes_id = self.request.POST.getlist('expedientes') voto_parlamentar = VotoParlamentar.objects.filter(