Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added a comment: It was an Apache problem...
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
postsparkline.pm
diff --git
a/IkiWiki/Plugin/postsparkline.pm
b/IkiWiki/Plugin/postsparkline.pm
index f51e309c89800c8fddf38b0728a0b39e094cee57..2fae9c5fee90ab266aa0be0d0b2fb4a5267afbb3 100644
(file)
--- a/
IkiWiki/Plugin/postsparkline.pm
+++ b/
IkiWiki/Plugin/postsparkline.pm
@@
-16,6
+16,7
@@
sub getsetup () {
plugin => {
safe => 1,
rebuild => undef,
plugin => {
safe => 1,
rebuild => undef,
+ section => "widget",
},
}
},
}
@@
-54,9
+55,9
@@
sub preprocess (@) {
}
my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} }
}
my @list=sort { $params{timehash}->{$b} <=> $params{timehash}->{$a} }
-
use_pagespec
($params{page}, $params{pages},
+
pagespec_match_list
($params{page}, $params{pages},
deptype => $deptype,
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)};
);
my @data=eval qq{IkiWiki::Plugin::postsparkline::formula::$formula(\\\%params, \@list)};