MDL-50169: Fix grade report SQL logic
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
aff87a12e2
commit
35a0d15031
@@ -413,7 +413,7 @@ class tablelog extends \table_sql implements \renderable {
|
||||
|
||||
$sql = "SELECT $select
|
||||
FROM {grade_grades_history} ggh
|
||||
LEFT JOIN {grade_items} gi ON gi.id = ggh.itemid
|
||||
JOIN {grade_items} gi ON gi.id = ggh.itemid
|
||||
JOIN {user} u ON u.id = ggh.userid
|
||||
LEFT JOIN {user} ug ON ug.id = ggh.usermodified
|
||||
WHERE $where";
|
||||
|
||||
Reference in New Issue
Block a user