Browse Source
fix: corrige bug na pesquisa de impressos etiquetas (#3695)
Co-authored-by: joao <joao@mezzoplanejamento.com.br>
pull/3701/head
joaohortsenado
12 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
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) |
|
|
|