From: Brion Vibber Date: Sun, 23 Jan 2005 01:43:24 +0000 (+0000) Subject: * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode X-Git-Tag: 1.5.0alpha1~860 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22messagerie%22%29%20.%20%22?a=commitdiff_plain;h=ca842b26f41824d3779245095b417b8ae6d42962;p=lhc%2Fweb%2Fwiklou.git * (bug 1232) Fix sorting of cached Special:Wantedpages in miser mode Patch from zigger --- diff --git a/includes/SpecialWantedpages.php b/includes/SpecialWantedpages.php index 1a59ae5df9..e345703d3a 100644 --- a/includes/SpecialWantedpages.php +++ b/includes/SpecialWantedpages.php @@ -40,13 +40,7 @@ class WantedPagesPage extends QueryPage { COUNT(DISTINCT bl_from) as value FROM $brokenlinks GROUP BY bl_to - HAVING $agrvalue > 1 - ORDER BY $agrvalue ". - ($this->sortDescending() ? 'DESC' : ''); - } - - function getOrder() { - return ''; + HAVING $agrvalue > 1"; } function formatResult( $skin, $result ) {