use post.get_title() to get fallback title from meta

This commit is contained in:
Tadas Dailyda 2016-02-19 13:31:11 +02:00
parent f28a2cd6d1
commit d3f64ccdba

View file

@ -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()