mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-40785' of git://github.com/timhunt/moodle
This commit is contained in:
commit
30a209ba17
1 changed files with 1 additions and 0 deletions
|
@ -94,6 +94,7 @@ if ($requestedqtype) {
|
||||||
JOIN {question_categories} qc ON q.category = qc.id
|
JOIN {question_categories} qc ON q.category = qc.id
|
||||||
JOIN {context} con ON con.id = qc.contextid
|
JOIN {context} con ON con.id = qc.contextid
|
||||||
$sqlqtypetest
|
$sqlqtypetest
|
||||||
|
AND (q.parent = 0 OR q.parent = q.id)
|
||||||
GROUP BY qc.contextid, $ctxgroupby
|
GROUP BY qc.contextid, $ctxgroupby
|
||||||
ORDER BY numquestions DESC, numhidden ASC, con.contextlevel ASC, con.id ASC", $params);
|
ORDER BY numquestions DESC, numhidden ASC, con.contextlevel ASC, con.id ASC", $params);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue