From 192177ba2df6dc89e39c4ef6057aedf91cec947c Mon Sep 17 00:00:00 2001 From: Chase Sterling Date: Tue, 12 Jul 2016 00:27:39 -0400 Subject: [PATCH] Fix search rebuild_index command --- realms/modules/search/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)