From e72efc0af37af005308adc948e6a12a2de214d37 Mon Sep 17 00:00:00 2001 From: Eduardo Calil Date: Thu, 23 Mar 2017 16:56:27 -0300 Subject: [PATCH] =?UTF-8?q?Ajusta=20alguns=20detalhes=20e=20cria=20bot?= =?UTF-8?q?=C3=A3o=20de=20acesso=20a=20pesquisa?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/search_indexes.py | 1 - sapl/templates/search/search.html | 6 +++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/sapl/base/search_indexes.py b/sapl/base/search_indexes.py index ea1632666..1bb379091 100644 --- a/sapl/base/search_indexes.py +++ b/sapl/base/search_indexes.py @@ -16,7 +16,6 @@ class DocumentoAcessorioIndex(indexes.SearchIndex, indexes.Indexable): return self.model def index_queryset(self, using=None): - """Used when the entire index for model is updated.""" return self.get_model().objects.all() def prepare(self, obj): diff --git a/sapl/templates/search/search.html b/sapl/templates/search/search.html index c6e8a5a7d..9fc9f1d00 100644 --- a/sapl/templates/search/search.html +++ b/sapl/templates/search/search.html @@ -63,7 +63,11 @@ {% empty %} -

Nenhum resultado encontrado!

+

Nenhum texto encontrado!

+ + + + {% endfor %}