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:
parent
bece8ca86e
commit
1aa0285bf4
@ -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 + [
|
||||
...
|
||||
|
Loading…
Reference in New Issue
Block a user