mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/TemplateData
synced 2024-11-23 23:43:54 +00:00
ApiTemplateData: Fix ORDER BY
Change-Id: Ife2b6b5792e6c4312774fc42d073a663f19051ea
(cherry picked from commit 6e4902fd72
)
This commit is contained in:
parent
6d21a3688e
commit
168d269e33
|
@ -98,7 +98,7 @@ class ApiTemplateData extends ApiBase {
|
||||||
'pp_propname' => 'templatedata'
|
'pp_propname' => 'templatedata'
|
||||||
],
|
],
|
||||||
__METHOD__,
|
__METHOD__,
|
||||||
[ 'ORDER BY', 'pp_page' ]
|
[ 'ORDER BY' => 'pp_page' ]
|
||||||
);
|
);
|
||||||
|
|
||||||
foreach ( $res as $row ) {
|
foreach ( $res as $row ) {
|
||||||
|
|
Loading…
Reference in a new issue