From 01313e837e6ebffcf809da02cf6b47d620f20b22 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Tue, 29 Oct 2019 16:38:53 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20add=20pesquisa=20vazia=20em=20compil?= =?UTF-8?q?a=C3=A7=C3=A3o?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/compilacao/views.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sapl/compilacao/views.py b/sapl/compilacao/views.py index 0f165403a..f925b54bc 100644 --- a/sapl/compilacao/views.py +++ b/sapl/compilacao/views.py @@ -3120,6 +3120,8 @@ class DispositivoSearchFragmentFormView(ListView): elif rotulo: AND_TEXTO_ROTULO = "AND d.rotulo ~* '{BUSCA_ROTULO}'".format( BUSCA_ROTULO=rotulo) + else: + AND_TEXTO_ROTULO = '' jtms = '' # JOIN_TYPE_MODEL_SELECTED atms = '' # AND_TYPE_MODEL_SELECTED