Commit 89823b1a authored by Juan Leyva's avatar Juan Leyva
Browse files

MDL-54601 webservice: Order services function list by name

parent a0a63678
......@@ -460,7 +460,8 @@ class webservice {
FROM {external_functions} f
WHERE f.name IN (SELECT sf.functionname
FROM {external_services_functions} sf
WHERE sf.externalserviceid $serviceids)";
WHERE sf.externalserviceid $serviceids)
ORDER BY f.name ASC";
$functions = $DB->get_records_sql($sql, $params);
} else {
$functions = array();
......
......@@ -3,6 +3,10 @@ information provided here is intended especially for developers.
This information is intended for authors of webservices, not people writing webservice clients.
=== 3.2 ===
* webservice->get_external_functions now returns the external function list ordered by name ASC.
=== 3.1 ===
* The xmlrpc backend has changed, Zend_XmlRpc has been dropped and there might be slight differences in
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment