mirror of
https://github.com/moodle/moodle.git
synced 2025-02-01 13:28:17 +01:00
Change group-by. I know what was there was equivalent, but Postgres is pedantic about these thigns, and was reporting an error.
This commit is contained in:
parent
baef998bb9
commit
17312b83c5
@ -98,7 +98,7 @@ function quiz_get_average_grade_for_questions($quiz, $userids){
|
||||
"($qmfilter) AND " .
|
||||
"qa.userid $usql AND " .
|
||||
"qa.quiz = ? ".
|
||||
"GROUP BY qs.question";
|
||||
"GROUP BY qns.questionid";
|
||||
return $DB->get_records_sql_menu($questionavgssql, $params);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user