projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dddec0
)
fix clearing index on page deletion
author
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 05:28:35 +0000
(
01:28
-0400)
committer
Joey Hess
<joey@kodama.kitenet.net>
Wed, 4 Jun 2008 05:28:35 +0000
(
01:28
-0400)
IkiWiki/Plugin/search.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/search.pm
b/IkiWiki/Plugin/search.pm
index aa0a8085e16867c3cc54fbe1aeacd3481ef9a6d3..3ea4c6b7f01fcb644c217c7fa9e38bde22a2406d 100644
(file)
--- 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)
));
}
} #}}}