From 9a1c22462c0cb544a8fba27a9b9d4f4b0c157e68 Mon Sep 17 00:00:00 2001 From: Domas Mituzas Date: Sat, 12 Nov 2005 19:40:24 +0000 Subject: [PATCH] use index for sorting, sorting by cur_id makes no sense --- includes/SpecialNewpages.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/SpecialNewpages.php b/includes/SpecialNewpages.php index f718cf5ca0..b388533d41 100644 --- a/includes/SpecialNewpages.php +++ b/includes/SpecialNewpages.php @@ -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, -- 2.20.1