From: Domas Mituzas Date: Fri, 30 May 2008 17:52:26 +0000 (+0000) Subject: force an index here :) X-Git-Tag: 1.31.0-rc.0~47284 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=7fe069735ac08534b344489f99d8680266111953;p=lhc%2Fweb%2Fwiklou.git force an index here :) --- diff --git a/includes/SpecialCategories.php b/includes/SpecialCategories.php index 4c3d19c2e0..d5b79a9d41 100644 --- a/includes/SpecialCategories.php +++ b/includes/SpecialCategories.php @@ -29,7 +29,8 @@ class CategoryPager extends AlphabeticPager { return array( 'tables' => array( 'category' ), 'fields' => array( 'cat_title','cat_pages' ), - 'conds' => array( 'cat_pages > 0' ) + 'conds' => array( 'cat_pages > 0' ), + 'options' => array( 'USE INDEX' => 'cat_title' ), ); }