From fa724cffb70352cef5b6e15185042ed4254a12d6 Mon Sep 17 00:00:00 2001 From: Edward Ribeiro Date: Mon, 22 May 2017 17:01:13 -0300 Subject: [PATCH] =?UTF-8?q?HOT-FIX:=20poss=C3=ADvel=20fix=20para=20erro=20?= =?UTF-8?q?de=20render=20no=20search=20index?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/base/search_indexes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sapl/base/search_indexes.py b/sapl/base/search_indexes.py index e41dac3bf..58e1688c4 100644 --- a/sapl/base/search_indexes.py +++ b/sapl/base/search_indexes.py @@ -54,8 +54,8 @@ class DocumentoAcessorioIndex(indexes.SearchIndex, indexes.Indexable): # text field with *all* of our metadata visible for templating: t = loader.select_template(( 'search/indexes/' + self.template_name, )) - data['text'] = t.render(Context({'object': obj, - 'extracted': extracted_data})) + data['text'] = t.render({'object': obj, + 'extracted': extracted_data}) return data