MDL-79270 reportbuilder: remove duplicate columns from order clause. 8f32e623bb0ef68bbd0553c53c6eb82595ea764f
authorPaul Holden <paulh@moodle.com>
Wed, 13 Dec 2023 17:10:46 +0000 (17:10 +0000)
committerPaul Holden <paulh@moodle.com>
Wed, 13 Dec 2023 17:17:54 +0000 (17:17 +0000)
commit8f32e623bb0ef68bbd0553c53c6eb82595ea764f
treeeb02221acd1bddb177cbac778146e9e35dabb050
parent95cd15ea121d7870dd2ad30657d0b521a0955508
MDL-79270 reportbuilder: remove duplicate columns from order clause.

This works around a problem in SQL Server, which caused it to throw a
DML exception if the same column is duplicated in `ORDER BY` clause.
reportbuilder/classes/table/base_report_table.php