mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-50169: Fix grade report SQL logic
This commit is contained in:
parent
753d681076
commit
6e60e99570
@ -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";
|
||||
|
Loading…
x
Reference in New Issue
Block a user