MDL-61693 core_calendar: make results deterministic for better testing

This commit is contained in:
Eloy Lafuente (stronk7) 2018-05-06 18:17:52 +02:00
parent 70e8515ea8
commit fc5c5306c9

View File

@ -483,7 +483,8 @@ class provider implements
WHERE e.userid = :muserid
AND ctx.id {$contextsql2}
) ids
JOIN {event} details ON details.id = ids.id";
JOIN {event} details ON details.id = ids.id
ORDER BY ids.id";
return $DB->get_recordset_sql($sql, $params);
}