MDL-57727 reports: Activity completion report sorting problem

This commit is contained in:
Mihail Geshoski 2017-12-12 09:39:17 +08:00
parent 109aa07648
commit b68b5f55ca

View File

@ -147,7 +147,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