aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki/Plugin/postsparkline.pm
diff options
context:
space:
mode:
Diffstat (limited to 'IkiWiki/Plugin/postsparkline.pm')
-rw-r--r--IkiWiki/Plugin/postsparkline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/IkiWiki/Plugin/postsparkline.pm b/IkiWiki/Plugin/postsparkline.pm
index f51e309c8..1d4532366 100644
--- a/IkiWiki/Plugin/postsparkline.pm
+++ b/IkiWiki/Plugin/postsparkline.pm
@@ -54,7 +54,7 @@ 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} },
);