From 855e7d082a1da256a24911c0bee8a09c4811f17a Mon Sep 17 00:00:00 2001 From: joao Date: Thu, 30 Nov 2023 07:32:44 -0500 Subject: [PATCH] fix: corrige bug na pesquisa de impressos etiquetas --- sapl/materia/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/materia/views.py b/sapl/materia/views.py index e656751dc..5492ddfb6 100644 --- a/sapl/materia/views.py +++ b/sapl/materia/views.py @@ -2660,9 +2660,9 @@ class EtiquetaPesquisaView(PermissionRequiredMixin, FormView): if form.cleaned_data['processo_inicial']: materias = materias.filter( - numeracao__numero_materia__gte=form.cleaned_data[ + numero__gte=form.cleaned_data[ 'processo_inicial'], - numeracao__numero_materia__lte=form.cleaned_data[ + numero__lte=form.cleaned_data[ 'processo_final']) context['quantidade'] = len(materias)