diff --git a/realms/modules/search/commands.py b/realms/modules/search/commands.py index 82e6ee5..9da87f4 100644 --- a/realms/modules/search/commands.py +++ b/realms/modules/search/commands.py @@ -32,4 +32,4 @@ def rebuild_index(): username=page.info['author'], updated_on=entry['mtime'], created_on=entry['ctime']) - search.index_wiki(name, body) + search.index_wiki(page.name, body)