summaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/search.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/search.pm b/IkiWiki/Plugin/search.pm
index a28d58a1d..3e3e9dfab 100644
--- a/IkiWiki/Plugin/search.pm
+++ b/IkiWiki/Plugin/search.pm
@@ -58,7 +58,7 @@ sub pagetemplate (@) { #{{{
my %toindex;
sub needsbuild ($) { #{{{
- %toindex = map { $_ => 1 } @{shift()};
+ %toindex = map { pagename($_) => 1 } @{shift()};
} #}}}
sub filter (@) { #{{{