]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
attachment: Fix reversion in attachment sorting by age.
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 14 Dec 2009 22:19:31 +0000 (17:19 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 14 Dec 2009 22:19:31 +0000 (17:19 -0500)
Reversion was introduced by over-eager removal of mtime_raw in
2b569f99d9e7f1d4d30c7f3adde9729ff4d868cf

IkiWiki/Plugin/attachment.pm
debian/changelog

index 953e71625a24345cb323408ab43287a427828b4d..cbe6efc216c07de84ff547c7edbc296a76c1d146 100644 (file)
@@ -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}),
                                link => htmllink($page, $page, $f, noimageinline => 1),
                                size => IkiWiki::Plugin::filecheck::humansize((stat(_))[7]),
                                mtime => displaytime($IkiWiki::pagemtime{$f}),
+                               mtime_raw => $IkiWiki::pagemtime{$f},
                        };
                }
        }
                        };
                }
        }
index c286065fa1b7517dfd32085928fc8487111dff9f..258f07b08b2bbe032ac65bbf9fa209047c9261dd 100644 (file)
@@ -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.
     (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
 
 
  -- Joey Hess <joeyh@debian.org>  Wed, 02 Dec 2009 17:22:21 -0500