use post.get_title() to get fallback title from meta
This commit is contained in:
parent
f28a2cd6d1
commit
d3f64ccdba
1 changed files with 1 additions and 1 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue