From: Joey Hess Date: Mon, 14 Dec 2009 22:19:31 +0000 (-0500) Subject: attachment: Fix reversion in attachment sorting by age. X-Git-Tag: 3.20091218~7 X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/cdbdf19c369c7a79251cf938b6d8d893accd4599?ds=sidebyside attachment: Fix reversion in attachment sorting by age. Reversion was introduced by over-eager removal of mtime_raw in 2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf --- 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}, }; } } diff --git a/debian/changelog b/debian/changelog index c286065fa..258f07b08 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ ikiwiki (3.20091203) UNRELEASED; urgency=low (Thanks, Richard Levitte) * rename: Fix some utf-8 problems. * attachment: Fix several utf-8 problems. + * attachment: Fix reversion in attachment sorting by age. -- Joey Hess Wed, 02 Dec 2009 17:22:21 -0500