https://bugzilla.wikimedia.org/show_bug.cgi?id=24650

Reedy <s...@reedyboy.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |22744

--- Comment #1 from Reedy <s...@reedyboy.net> 2010-08-26 23:10:20 UTC ---
ApiQueryCategoryMembers.php:

        $this->addWhereFld( 'cl_to', $categoryTitle->getDBkey() );
<snip>
        } else {
            $this->addWhereRange( 'cl_sortkey', ( $params['dir'] == 'asc' ?
'newer' : 'older' ), $params['startsortkey'], $params['endsortkey'] );
            $this->addWhereRange( 'cl_from', ( $params['dir'] == 'asc' ?
'newer' : 'older' ), null, null );
        }

So we're missing the index as we're not sorting on cl_type


We're using cl_sortkey as a continue. That probably needs changing.


ApiQueryCategories:

Output of sortkey is probably pointless now...?

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to