From db91c54c534dcca715f365972b91c8ee8b2ef487 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Tue, 27 Aug 2019 22:00:30 -0300 Subject: [PATCH] HOT-FIX: teste de exists de T.A.s em busca textual --- sapl/templates/search/search.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/templates/search/search.html b/sapl/templates/search/search.html index f2183c40b..d6c31da0a 100644 --- a/sapl/templates/search/search.html +++ b/sapl/templates/search/search.html @@ -53,7 +53,7 @@ {% if result.object.texto_original %} Texto Original: Clique aqui
{% endif %} - {% if result.object.texto_articulado %} + {% if result.object.texto_articulado.exists %} Texto Articulado: Clique aqui
{% endif %}

@@ -74,7 +74,7 @@ {% if result.object.texto_integral %} Texto Original: Clique aqui
{% endif %} - {% if result.object.texto_articulado %} + {% if result.object.texto_articulado.exists %} Texto Articulado: Clique aqui
{% endif %}