dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f220f39
)
Fix order...that was confusing
author
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 27 May 2008 00:21:53 +0000
(
00:21
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Tue, 27 May 2008 00:21:53 +0000
(
00:21
+0000)
includes/SpecialWhatlinkshere.php
patch
|
blob
|
history
diff --git
a/includes/SpecialWhatlinkshere.php
b/includes/SpecialWhatlinkshere.php
index
f5e6ca3
..
22bd229
100644
(file)
--- a/
includes/SpecialWhatlinkshere.php
+++ b/
includes/SpecialWhatlinkshere.php
@@
-399,7
+399,7
@@
class WhatLinksHerePager extends AlphabeticPager {
// 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!