From d3f64ccdba20b3693c338b5691a7d9e2be0bd4f9 Mon Sep 17 00:00:00 2001 From: Tadas Dailyda Date: Fri, 19 Feb 2016 13:31:11 +0200 Subject: [PATCH] use post.get_title() to get fallback title from meta --- djangocms_blog/search_indexes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/djangocms_blog/search_indexes.py b/djangocms_blog/search_indexes.py index 49f9d9b..2e9c8d0 100644 --- a/djangocms_blog/search_indexes.py +++ b/djangocms_blog/search_indexes.py @@ -19,7 +19,7 @@ class PostIndex(get_index_base()): post_text = indexes.CharField(null=True) def get_title(self, post): - return post.safe_translation_getter('title') + return post.get_title() def get_description(self, post): return post.get_description()