Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki-CVS

SVN: [35377] trunk/phase3/includes/SpecialWhatlinkshere.php

 

 

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded


aaron at svn

May 26, 2008, 5:21 PM

Post #1 of 1 (101 views)
Permalink
SVN: [35377] trunk/phase3/includes/SpecialWhatlinkshere.php

Revision: 35377
Author: aaron
Date: 2008-05-27 00:21:53 +0000 (Tue, 27 May 2008)

Log Message:
-----------
Fix order...that was confusing

Modified Paths:
--------------
trunk/phase3/includes/SpecialWhatlinkshere.php

Modified: trunk/phase3/includes/SpecialWhatlinkshere.php
===================================================================
--- trunk/phase3/includes/SpecialWhatlinkshere.php 2008-05-27 00:13:06 UTC (rev 35376)
+++ trunk/phase3/includes/SpecialWhatlinkshere.php 2008-05-27 00:21:53 UTC (rev 35377)
@@ -399,7 +399,7 @@
// Remove duplicates within the result set.
$SQL .= ' GROUP BY page_id';
// Use proper order of result set
- $SQL .= $descending ? " ORDER BY {$this->mIndexField} DESC" : " ORDER BY {$this->mIndexField}";
+ $SQL .= $descending ? " ORDER BY {$this->mIndexField}" : " ORDER BY {$this->mIndexField} DESC";
// Cut off at the specified limit
$SQL .= ' LIMIT ' . intval( $limit );
# Run the query!



_______________________________________________
MediaWiki-CVS mailing list
MediaWiki-CVS [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Wikipedia mediawiki-cvs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.