use index for sorting, sorting by cur_id makes no sense
authorDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Nov 2005 19:40:24 +0000 (19:40 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Sat, 12 Nov 2005 19:40:24 +0000 (19:40 +0000)
includes/SpecialNewpages.php

index f718cf5..b388533 100644 (file)
@@ -43,11 +43,12 @@ class NewPagesPage extends QueryPage {
                        "SELECT 'Newpages' as type,
                                rc_namespace AS namespace,
                                rc_title AS title,
-                               rc_cur_id AS value,
+                               rc_cur_id AS cur_id,
                                rc_user AS user,
                                rc_user_text AS user_text,
                                rc_comment as comment,
                                rc_timestamp AS timestamp,
+                                rc_timestamp AS value,
                                '{$usepatrol}' as usepatrol,
                                rc_patrolled AS patrolled,
                                rc_id AS rcid,