From c47276102dbcd932c874dcd6b182756b3929c8ce Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Mon, 31 Aug 2020 11:37:30 -0300 Subject: [PATCH] Fix erro no lookup pesquisa de Autor do tipo Frente --- sapl/parlamentares/models.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sapl/parlamentares/models.py b/sapl/parlamentares/models.py index faee156a4..9ede3220f 100644 --- a/sapl/parlamentares/models.py +++ b/sapl/parlamentares/models.py @@ -533,7 +533,10 @@ class Frente(models.Model): fields_search=( ('nome', '__icontains'), ('descricao', '__icontains'), - )) + ('frenteparlamentar__parlamentar__filiacao__partido__sigla', '__icontains'), + ('frenteparlamentar__parlamentar__filiacao__partido__nome', '__icontains'), + ) + ) class Meta: verbose_name = _('Frente Parlamentar')