MDL-83718 reportbuilder: use aliased user fullname sort fields. e76d99f29dd5b7bba76f696a8ee338ac597d203d
authorPaul Holden <paulh@moodle.com>
Tue, 3 Dec 2024 12:53:22 +0000 (12:53 +0000)
committerPaul Holden <paulh@moodle.com>
Tue, 3 Dec 2024 13:17:41 +0000 (13:17 +0000)
commite76d99f29dd5b7bba76f696a8ee338ac597d203d
tree7e8be40b2be2b07e021c86175c976de33387c029
parent321e04d630324c44929c931acfcce344b06e4a98
MDL-83718 reportbuilder: use aliased user fullname sort fields.

This is extending work started in 8f32e623 that removed duplicate
fields when sorting user fullname columns (to ensure compatibility
across supported DBs).

We must now refer to these sorted fields by their alias in order to
ensure they continue working when processed from the report table.

Co-authored-by: David Carrillo <davidmc@moodle.com>
reportbuilder/classes/table/base_report_table.php