diff --git a/sapl/norma/forms.py b/sapl/norma/forms.py index a767c37fa..0246ec320 100644 --- a/sapl/norma/forms.py +++ b/sapl/norma/forms.py @@ -84,7 +84,7 @@ class NormaJuridicaPesquisaForm(ModelForm): ano = forms.ModelChoiceField( label='Ano', required=False, - queryset=NormaJuridica.objects.order_by('ano').values_list( + queryset=NormaJuridica.objects.order_by('-ano').values_list( 'ano', flat=True).distinct(), empty_label='Selecione' )