In the gradebook, clicking one of the up/down arrows for sorting causes an SQL error "Invalid use of group function".
In grade/report/grader/lib.php, changing MAX(g.finalgrade) to g.finalgrade seems to fix the error.
We're using the latest Moodle 1.9.4+ on CentOS 4.7, PHP 4.3.9, MySQL 4.1.22.
Gradebook
grade sort error
This discussion has been locked so you can no longer reply to it.