Whoops. LogDisplay sorted by log_id, not time_id.
authorDan
Mon, 04 May 2009 23:04:08 -0400
changeset 947 f222643fb578
parent 946 ff58e1732482
child 948 db32e8e09f09
Whoops. LogDisplay sorted by log_id, not time_id.
includes/log.php
--- a/includes/log.php	Mon May 04 23:03:37 2009 -0400
+++ b/includes/log.php	Mon May 04 23:04:08 2009 -0400
@@ -156,7 +156,7 @@
     $sql = 'SELECT ' . $columns . ' FROM ' . table_prefix . "logs AS l\n"
          . "  WHERE log_type = 'page' AND is_draft != 1$where_extra\n"
          . "  GROUP BY log_id, action, page_id, namespace, page_text, author, time_id, edit_summary, minor_edit"
-         . "  ORDER BY log_id DESC $limit;";
+         . "  ORDER BY time_id DESC $limit;";
     
     return $sql;
   }