From 98f0c5e32b90664b1253f142401b617aa0b0553f Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Thu, 31 Oct 2019 14:29:37 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20conserta=20adiciona=20v=C3=A1rias=20?= =?UTF-8?q?mat.=20exp/ordem?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/sessao/forms.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sapl/sessao/forms.py b/sapl/sessao/forms.py index bbf6cb41d..450fed1ea 100644 --- a/sapl/sessao/forms.py +++ b/sapl/sessao/forms.py @@ -600,7 +600,11 @@ class AdicionarVariasMateriasFilterSet(MateriaLegislativaFilterSet): ] def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + # Colocar super().__init__(*args, **kwargs) quebra a tela + # de adicionar várias matérias em expediente e ordem dia. + # pois herda da classe AdicionarVariasMateriasFilterSet em + # vez de MateriaLegislativaFilterSet + super(MateriaLegislativaFilterSet, self).__init__(*args, **kwargs) self.filters['tipo'].label = 'Tipo de Matéria' self.filters['autoria__autor__tipo'].label = 'Tipo de Autor'