-
Bug
-
Resolution: Fixed
-
Major
-
3.1, 3.1 regressions
-
MOODLE_31_STABLE
-
MOODLE_31_STABLE
-
MDL_55423_master
-
Things that were broken by the new code added there:
- Passing $fields = 'u.*'. You get debugging like 'Debugging: get_role_users() adding u.lastname, u.firstname, u.id to the query result because they were required by $sort but missing in $fields'
- Passing $fields = 'u.id AS some_alias'.
I am also pretty sure that the call to get_role_users in grade/report/singleview/classes/local/screen/select.php is likely to trigger the new debugging, and needs to be fixed.
- is a regression caused by
-
MDL-52574 get_role_users() fails with specific fields on PostgreSQL
- Closed