]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/postsparkline.pm
httpauth: Add cgiauthurl setting that can be used to do http basic auth only when...
[git.ikiwiki.info.git] / IkiWiki / Plugin / postsparkline.pm
index f51e309c89800c8fddf38b0728a0b39e094cee57..0d5a12e33c5c2f918181784b2dd8784f54353ff7 100644 (file)
@@ -54,9 +54,9 @@ sub preprocess (@) {
        }
 
        my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} } 
-               use_pagespec($params{page}, $params{pages},
+               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)};