MDL-15751 "Quiz statistics report : only list random questions once when there are several consecutive random questions picking from the same category with the same options to recurse into sub directories" sorting of questions by id, so they appear in some kind of order.
This commit is contained in:
@@ -136,6 +136,9 @@ class qstats{
|
||||
}
|
||||
}
|
||||
}
|
||||
foreach ($this->randomselectors as $key => $randomselector){
|
||||
ksort($this->randomselectors[$key]);
|
||||
}
|
||||
$this->subquestions = question_load_questions(array_keys($subquestionstats));
|
||||
foreach (array_keys($this->subquestions) as $qid){
|
||||
$this->subquestions[$qid]->_stats = $subquestionstats[$qid];
|
||||
|
||||
Reference in New Issue
Block a user