From: Domas Mituzas Date: Sat, 12 Nov 2005 19:40:24 +0000 (+0000) Subject: use index for sorting, sorting by cur_id makes no sense X-Git-Tag: 1.6.0~1189 X-Git-Url: http://git.cyclocoop.org//%22%22.str_replace%28%27%22%27%2C?a=commitdiff_plain;h=9a1c22462c0cb544a8fba27a9b9d4f4b0c157e68;p=lhc%2Fweb%2Fwiklou.git use index for sorting, sorting by cur_id makes no sense --- 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,