mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-54601 webservice: Order services function list by name
This commit is contained in:
parent
a0a63678a9
commit
89823b1ae3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user