From: OverlordQ Date: Fri, 29 Apr 2011 22:38:30 +0000 (+0000) Subject: Fix group by for Special:MostLinkedTemplates X-Git-Tag: 1.31.0-rc.0~30504 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=676e772a4fda9bb8f322edf7a1fce8df8546f0e7;p=lhc%2Fweb%2Fwiklou.git Fix group by for Special:MostLinkedTemplates --- diff --git a/includes/specials/SpecialMostlinkedtemplates.php b/includes/specials/SpecialMostlinkedtemplates.php index d9fe994968..73a60a049c 100644 --- a/includes/specials/SpecialMostlinkedtemplates.php +++ b/includes/specials/SpecialMostlinkedtemplates.php @@ -68,7 +68,7 @@ class MostlinkedTemplatesPage extends QueryPage { 'tl_title AS title', 'COUNT(*) AS value' ), 'conds' => array ( 'tl_namespace' => NS_TEMPLATE ), - 'options' => array( 'GROUP BY' => 'tl_title' ) + 'options' => array( 'GROUP BY' => 'namespace, title' ) ); }