dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "Revert "Adding sanity check to Title::isRedirect().""
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiQueryAllLinks.php
diff --git
a/includes/api/ApiQueryAllLinks.php
b/includes/api/ApiQueryAllLinks.php
index
a190d32
..
f04d5b2
100644
(file)
--- a/
includes/api/ApiQueryAllLinks.php
+++ b/
includes/api/ApiQueryAllLinks.php
@@
-105,7
+105,10
@@
class ApiQueryAllLinks extends ApiQueryGeneratorBase {
$this->addOption( 'LIMIT', $limit + 1 );
if ( !$params['unique'] ) {
- $this->addOption( 'ORDER BY', 'pl_title, pl_from' );
+ $this->addOption( 'ORDER BY', array(
+ 'pl_title',
+ 'pl_from'
+ ));
}
$res = $this->select( __METHOD__ );