From e4cb73bb1f8c0e3c459cc82145acd3cc59796385 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 912c81276..c94388a06 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(