Skip to content

Commit 4fc7f29

Browse files
authored
Merge pull request #3393 from carlangas159/3177
Tests/Report by question broken for many types of tests #3177
2 parents 54f284c + 4b10960 commit 4fc7f29

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

main/exercise/stats.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,9 @@
4444
);
4545
}
4646
$count_students = count($students);
47-
$question_list = $objExercise->get_validated_question_list();
47+
//$question_list = $objExercise->get_validated_question_list();
48+
$totalQuestions = $objExercise->getQuestionCount(); //Get total of questions
49+
$question_list = $objExercise->getQuestionForTeacher(0, $totalQuestions); // get questions from 0 to total
4850

4951
$data = [];
5052
// Question title # of students who tool it Lowest score Average Highest score Maximum score

0 commit comments

Comments
 (0)