From e96e4d5a5be06e41fdeaa09c2e3378c181410ae7 Mon Sep 17 00:00:00 2001 From: Mihail Geshoski Date: Tue, 12 Dec 2017 09:39:17 +0800 Subject: [PATCH] MDL-57727 reports: Activity completion report sorting problem --- report/progress/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/progress/index.php b/report/progress/index.php index 2895e1343f1..47a0a7191bd 100644 --- a/report/progress/index.php +++ b/report/progress/index.php @@ -141,7 +141,7 @@ if ($total) { implode(' AND ', $where), $where_params, $group, - $firstnamesort ? 'u.firstname ASC' : 'u.lastname ASC', + $firstnamesort ? 'u.firstname ASC, u.lastname ASC' : 'u.lastname ASC, u.firstname ASC', $csv ? 0 : COMPLETION_REPORT_PAGE, $csv ? 0 : $start, $context