mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-62769' of https://github.com/timhunt/moodle
This commit is contained in:
commit
432e755f2b
1 changed files with 2 additions and 1 deletions
|
@ -529,7 +529,8 @@ class quiz_statistics_report extends quiz_default_report {
|
||||||
$questions = quiz_report_get_significant_questions($quiz);
|
$questions = quiz_report_get_significant_questions($quiz);
|
||||||
|
|
||||||
// Only load main question not sub questions.
|
// Only load main question not sub questions.
|
||||||
$questionstatistics = $DB->get_records_select('question_statistics', 'hashcode = ? AND slot IS NOT NULL',
|
$questionstatistics = $DB->get_records_select('question_statistics',
|
||||||
|
'hashcode = ? AND slot IS NOT NULL AND variant IS NULL',
|
||||||
[$qubaids->get_hash_code()]);
|
[$qubaids->get_hash_code()]);
|
||||||
|
|
||||||
// Configure what to display.
|
// Configure what to display.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue