MDL-68148 core_user: set the fullname column as the header column

ref: https://www.w3.org/WAI/tutorials/tables/
This commit is contained in:
Shamim Rezaie
2020-04-08 11:44:28 +10:00
parent cabbb145dd
commit 5dfebd739f
+3
View File
@@ -220,6 +220,9 @@ class participants_table extends \table_sql {
$this->define_columns($columns);
$this->define_headers($headers);
// The name column is a header.
$this->define_header_column('fullname');
// Make this table sorted by last name by default.
$this->sortable(true, 'lastname');