r46426 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r46425‎ | r46426 | r46427 >
Date:05:09, 28 January 2009
Author:aaron
Status:resolved (Comments)
Tags:
Comment:
Kill filesort
Modified paths:
  • /trunk/phase3/includes/specials/SpecialListusers.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/specials/SpecialListusers.php
@@ -104,7 +104,7 @@
105105 'COUNT(ug_group) AS numgroups',
106106 'MAX(ug_group) AS singlegroup',
107107 'MIN(user_registration) AS creation'),
108 - 'options' => array('GROUP BY' => 'user_name'),
 108+ 'options' => array('GROUP BY' => $this->creationSort ? 'user_id' : 'user_name'),
109109 'conds' => $conds
110110 );
111111

Comments

#Comment by Aaron Schulz (talk | contribs)   06:11, 28 January 2009

Fixed in 46428

Status & tagging log