Merge pull request #3393 from carlangas159/3177

Tests/Report by question broken for many types of tests #3177
pull/3420/head
Yannick Warnier 5 years ago committed by GitHub
commit 4fc7f292ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      main/exercise/stats.php

@ -44,7 +44,9 @@ if (empty($sessionId)) {
);
}
$count_students = count($students);
$question_list = $objExercise->get_validated_question_list();
//$question_list = $objExercise->get_validated_question_list();
$totalQuestions = $objExercise->getQuestionCount(); //Get total of questions
$question_list = $objExercise->getQuestionForTeacher(0, $totalQuestions); // get questions from 0 to total
$data = [];
// Question title # of students who tool it Lowest score Average Highest score Maximum score

Loading…
Cancel
Save