ApiTemplateData: Fix ORDER BY

Change-Id: Ife2b6b5792e6c4312774fc42d073a663f19051ea
(cherry picked from commit 6e4902fd72)
This commit is contained in:
Reedy 2021-07-15 01:01:30 +01:00
parent 6d21a3688e
commit 168d269e33

View file

@ -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 ) {