From 02357b0b32decfa2214c8c2fada529b44fceee0e Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 3 Jun 2008 21:59:21 -0400 Subject: fix toindex --- IkiWiki/Plugin/search.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (@) { #{{{ -- cgit v1.2.3