aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--IkiWiki/Plugin/attachment.pm1
-rw-r--r--debian/changelog1
2 files changed, 2 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},
};
}
}
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 <joeyh@debian.org> Wed, 02 Dec 2009 17:22:21 -0500