mirror of
https://github.com/moodle/moodle.git
synced 2025-04-17 22:45:54 +02:00
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:
parent
1a94ddd31b
commit
8a805e03a4
@ -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');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user