Closed danowar2k closed 3 years ago
Original line of code in Moodle which defaults the field: https://github.com/moodle/moodle/blob/c69c33b14d9fb83ca22bde558169e36b5e1047cf/lib/tablelib.php#L134
Docs where it says that one should override the field if necessary: https://github.com/moodle/moodle/blob/c69c33b14d9fb83ca22bde558169e36b5e1047cf/lib/tablelib.php#L847-L848
thanks @danowar2k ! merged in.
Glad to help with oneliners ;-) It's all I can manage with the workload :-D
This would fix #11 .
Analog implementation in Moodle core: https://github.com/moodle/moodle/blob/338b60f43b25c84e684dc075ff59132a24461d32/mod/quiz/report/attemptsreport_table.php#L38
Checked locally, it uses the correct field then to generate the profile URL.