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:
e57730c
)
Followup r74298: add ORDER BY wl_namespace, wl_title to the query in WatchlistEditor...
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 8 Jan 2011 16:01:31 +0000
(16:01 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 8 Jan 2011 16:01:31 +0000
(16:01 +0000)
includes/WatchlistEditor.php
patch
|
blob
|
history
diff --git
a/includes/WatchlistEditor.php
b/includes/WatchlistEditor.php
index
a1a3364
..
b5a994d
100644
(file)
--- a/
includes/WatchlistEditor.php
+++ b/
includes/WatchlistEditor.php
@@
-213,7
+213,7
@@
class WatchlistEditor {
array( 'wl_namespace', 'wl_title', 'page_id', 'page_len', 'page_is_redirect', 'page_latest' ),
array( 'wl_user' => $user->getId() ),
__METHOD__,
-
$dbr->implicitOrderby() ? array( ) : array( 'ORDER BY' => '
wl_title' ),
+
array( 'ORDER BY' => 'wl_namespace,
wl_title' ),
array( 'page' =>
array( 'LEFT JOIN', 'wl_namespace = page_namespace AND wl_title = page_title' ) )
);