diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:20:41 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-10-09 13:20:41 -0400 |
commit | 6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed (patch) | |
tree | 0ca5d3284887d58aa6303c6dca951c00755e91e3 /IkiWiki/Plugin/postsparkline.pm | |
parent | f9f7a6e9f34b120504bb1dc238a3a627e9a8e3dc (diff) | |
download | ikiwiki-6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed.tar ikiwiki-6f2cc5ac8cc7e76b3faf20cd7516f82bcb3de7ed.tar.gz |
pagespec_match_list: change limit to filter
Diffstat (limited to 'IkiWiki/Plugin/postsparkline.pm')
-rw-r--r-- | IkiWiki/Plugin/postsparkline.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm index 1d4532366..0d5a12e33 100644 --- a/IkiWiki/Plugin/postsparkline.pm +++ b/IkiWiki/Plugin/postsparkline.pm @@ -56,7 +56,7 @@ sub preprocess (@) { my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} } pagespec_match_list($params{page}, $params{pages}, deptype => $deptype, - limit => sub { $_[0] ne $params{page} }, + filter => sub { $_[0] eq $params{page} }, ); my @data=eval qq{IkiWiki::Plugin::postsparkline::formula::$formula(\\\%params, \@list)}; |