mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 16:04:25 +02:00
Merge branch 'MDL-40785' of git://github.com/timhunt/moodle
This commit is contained in:
commit
30a209ba17
@ -94,6 +94,7 @@ if ($requestedqtype) {
|
||||
JOIN {question_categories} qc ON q.category = qc.id
|
||||
JOIN {context} con ON con.id = qc.contextid
|
||||
$sqlqtypetest
|
||||
AND (q.parent = 0 OR q.parent = q.id)
|
||||
GROUP BY qc.contextid, $ctxgroupby
|
||||
ORDER BY numquestions DESC, numhidden ASC, con.contextlevel ASC, con.id ASC", $params);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user