From c4daa0de4724ce611f2c346e05cb1406e0f34177 Mon Sep 17 00:00:00 2001 From: Lude Ribeiro Date: Tue, 22 Jun 2021 09:24:41 -0300 Subject: [PATCH] Fix #47 --- sigi/apps/convenios/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sigi/apps/convenios/admin.py b/sigi/apps/convenios/admin.py index ce5a6fe..dd7f4c1 100644 --- a/sigi/apps/convenios/admin.py +++ b/sigi/apps/convenios/admin.py @@ -78,7 +78,7 @@ class ConvenioAdmin(BaseModelAdmin): ordering = ('casa_legislativa__tipo__sigla', 'casa_legislativa__municipio__uf', 'casa_legislativa') raw_id_fields = ('casa_legislativa',) get_queryset = queryset_ascii - search_fields = ('id', 'search_text', # 'casa_legislativa__nome', + search_fields = ('id', 'search_text', 'casa_legislativa__sigla', 'num_processo_sf', 'num_convenio') def get_uf(self, obj):