An old Planet bug resurfaces

So, I see that Planet still hasn’t fixed the bug I pointed out (and provided a patch for) in 2008. Specifically, it sorts entries by “updated” rather “published”. As a consequence, some years-old blog posts I recently re-tagged showed up as new on Planet NUUG.

Here’s the patch, although I have no idea whether it still applies:

---    2006-07-27 02:01:54.000000000 +0200
+++ 2008-01-28 11:38:02.000000000 +0100
@@ -924,7 +924,7 @@
         added in previous updates and don't creep into the next one.
-        for other_key in ("updated", "modified", "published", "issued", "created"):
+        for other_key in ("published", "issued", "created", "updated", "modified"):
             if self.has_key(other_key):
                 date = self.get_as_date(other_key)

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.