0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

copy paste typo

This commit is contained in:
Eric Drechsel 2015-01-27 14:41:13 -08:00
parent bece8ca86e
commit 1aa0285bf4

View File

@ -163,7 +163,7 @@ Callables also provide a way to index fields from related models. In the example
def get_related_link_titles(self):
# Get list of titles and concatenate them
return '\n'.join(self.related_links.values_list('text', flat=True))
return '\n'.join(self.related_links.values_list('title', flat=True))
search_fields = Page.search_fields + [
...