MDL-19567 Correctly ordering imported courses by sortorder (previously not ordered explicitly)
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
$taught_courses = array();
|
||||
if (!empty($tcourseids)) {
|
||||
$tcourseids = substr($tcourseids,0,-1);
|
||||
$taught_courses = get_records_list('course', 'id', $tcourseids);
|
||||
$taught_courses = get_records_list('course', 'id', $tcourseids, 'sortorder');
|
||||
}
|
||||
|
||||
if (!empty($creator)) {
|
||||
|
||||
Reference in New Issue
Block a user