diff options
author | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 01:28:35 -0400 |
---|---|---|
committer | Joey Hess <joey@kodama.kitenet.net> | 2008-06-04 01:28:35 -0400 |
commit | 9976c31aca790025af38a95a5ad08cd8ac3bc9a2 (patch) | |
tree | 8c7315b8be0f5c9f15639d4671aa48bad7d90b3f /IkiWiki | |
parent | 1dddec0ba9f66f082f4b8349916cdb6bdb5636e3 (diff) | |
download | ikiwiki-9976c31aca790025af38a95a5ad08cd8ac3bc9a2.tar ikiwiki-9976c31aca790025af38a95a5ad08cd8ac3bc9a2.tar.gz |
fix clearing index on page deletion
Diffstat (limited to 'IkiWiki')
-rw-r--r-- | IkiWiki/Plugin/search.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm index aa0a8085e..3ea4c6b7f 100644 --- a/IkiWiki/Plugin/search.pm +++ b/IkiWiki/Plugin/search.pm @@ -119,7 +119,7 @@ sub index (@) { #{{{ sub delete (@) { #{{{ my $db=xapiandb(); foreach my $page (@_) { - $db->delete_document_by_term(pageterm($page)); + $db->delete_document_by_term(pageterm(pagename($page))); } } #}}} |