]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/postsparkline.pm
Revert the effects of find_del_files() for (re)autoadded files.
[git.ikiwiki.info.git] / IkiWiki / Plugin / postsparkline.pm
index 1d4532366e4f2d12eac17f65e5cdf56bb6e7308b..0d5a12e33c5c2f918181784b2dd8784f54353ff7 100644 (file)
@@ -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)};