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:
@@ -211,6 +211,9 @@ class participants_table extends \table_sql implements dynamic_table {
|
||||
$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');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user