From: Joey Hess Date: Wed, 4 Jun 2008 01:59:21 +0000 (-0400) Subject: fix toindex X-Git-Tag: 2.49~33 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/02357b0b32decfa2214c8c2fada529b44fceee0e fix toindex --- 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 (@) { #{{{