r98998 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r98997‎ | r98998 | r98999 >
Date:13:16, 5 October 2011
Author:catrope
Status:ok
Tags:
Comment:
1.18wmf1: MFT r98997
Modified paths:
  • /branches/wmf/1.18wmf1/includes/api/ApiQueryCategoryMembers.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.18wmf1/includes/api/ApiQueryCategoryMembers.php
@@ -143,7 +143,9 @@
144144 $contWhere = "cl_sortkey $op $escSortkey OR " .
145145 "(cl_sortkey = $escSortkey AND " .
146146 "cl_from $op= $from)";
147 -
 147+ // The below produces ORDER BY cl_sortkey, cl_from, possibly with DESC added to each of them
 148+ $this->addWhereRange( 'cl_sortkey', $dir, null, null );
 149+ $this->addWhereRange( 'cl_from', $dir, null, null );
148150 } else {
149151 // The below produces ORDER BY cl_sortkey, cl_from, possibly with DESC added to each of them
150152 $this->addWhereRange( 'cl_sortkey',

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r98997Fix bug in r83814 reported on IRC: categorymembers did not set an ORDER BY wh...catrope13:15, 5 October 2011

Status & tagging log