projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be1d97c
)
Only store authorsort in meta pagestate if it differs from author
author
Simon McVittie
<smcv@debian.org>
Mon, 5 Apr 2010 23:59:16 +0000
(
00:59
+0100)
committer
Simon McVittie
<smcv@debian.org>
Mon, 5 Apr 2010 23:59:16 +0000
(
00:59
+0100)
IkiWiki/Plugin/meta.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/meta.pm
b/IkiWiki/Plugin/meta.pm
index 7f19b46a3cf89f4f9d3317d9fbc5d06879803e70..34e902bec4d19d98730612e6ee78cc157ce7299d 100644
(file)
--- a/
IkiWiki/Plugin/meta.pm
+++ b/
IkiWiki/Plugin/meta.pm
@@
-131,7
+131,7
@@
sub preprocess (@) {
$pagestate{$page}{meta}{authorsort}=$params{sortas};
}
else {
-
$pagestate{$page}{meta}{authorsort}=$value
;
+
delete $pagestate{$page}{meta}{authorsort}
;
}
# fallthorough
}