aboutsummaryrefslogtreecommitdiff
path: root/IkiWiki
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-12-14 17:19:31 -0500
committerJoey Hess <joey@gnu.kitenet.net>2009-12-14 17:19:31 -0500
commitcdbdf19c369c7a79251cf938b6d8d893accd4599 (patch)
tree4674af2ce7da63d7696ec14d00bb6a9c90494fb9 /IkiWiki
parentbb1ce7207d9707848dfa7ebf6e32bfff5736732c (diff)
downloadikiwiki-cdbdf19c369c7a79251cf938b6d8d893accd4599.tar
ikiwiki-cdbdf19c369c7a79251cf938b6d8d893accd4599.tar.gz
attachment: Fix reversion in attachment sorting by age.
Reversion was introduced by over-eager removal of mtime_raw in 2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf
Diffstat (limited to 'IkiWiki')
-rw-r--r--IkiWiki/Plugin/attachment.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/IkiWiki/Plugin/attachment.pm b/IkiWiki/Plugin/attachment.pm
index 953e71625..cbe6efc21 100644
--- a/IkiWiki/Plugin/attachment.pm
+++ b/IkiWiki/Plugin/attachment.pm
@@ -231,6 +231,7 @@ sub attachment_list ($) {
link => htmllink($page, $page, $f, noimageinline => 1),
size => IkiWiki::Plugin::filecheck::humansize((stat(_))[7]),
mtime => displaytime($IkiWiki::pagemtime{$f}),
+ mtime_raw => $IkiWiki::pagemtime{$f},
};
}
}