mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
accesslib MDL-19237 corrected non existent fields
This commit is contained in:
parent
46808d7ccc
commit
d9ff0cc96e
1 changed files with 1 additions and 1 deletions
|
@ -3842,7 +3842,7 @@ function get_sorted_contexts($select, $params = array()) {
|
|||
LEFT JOIN {course_modules} cm ON ctx.contextlevel = " . CONTEXT_MODULE . " AND cm.id = ctx.instanceid
|
||||
LEFT JOIN {block_instances} bi ON ctx.contextlevel = " . CONTEXT_BLOCK . " AND bi.id = ctx.instanceid
|
||||
$select
|
||||
ORDER BY ctx.contextlevel, bi.region, COALESCE(cat.sortorder, c.sortorder, cm.section, bi.weight), u.lastname, u.firstname, cm.id
|
||||
ORDER BY ctx.contextlevel, bi.defaultregion, COALESCE(cat.sortorder, c.sortorder, cm.section, bi.defaultweight), u.lastname, u.firstname, cm.id
|
||||
", $params);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue