From c3187364b0813f6d5fab8841dead5c074f051b2a Mon Sep 17 00:00:00 2001 From: Cesar Carvalho Date: Wed, 19 Dec 2018 14:44:20 -0200 Subject: [PATCH] =?UTF-8?q?HOTFIX=20-=20definicao=20de=20valor=20default?= =?UTF-8?q?=20no=20relat=C3=B3rio=20de=20normas=20por=20vig=C3=AAncia?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/forms.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sapl/base/forms.py b/sapl/base/forms.py index 36267dbc3..fecba4a52 100644 --- a/sapl/base/forms.py +++ b/sapl/base/forms.py @@ -748,6 +748,7 @@ class RelatorioNormasVigenciaFilterSet(django_filters.FilterSet): self.filters['ano'].label = 'Ano' self.form.fields['ano'].required = True self.form.fields['vigencia'] = self.vigencia + self.form.fields['vigencia'].initial = True row1 = to_row([('ano', 12)]) row2 = to_row([('vigencia', 12)])