MDL-59436 user: Apply default sorting for participants table
This commit is contained in:
@@ -158,6 +158,9 @@ class participants_table extends \table_sql {
|
||||
$this->define_columns($columns);
|
||||
$this->define_headers($headers);
|
||||
|
||||
// Make this table sorted by first name by default.
|
||||
$this->sortable(true, 'firstname');
|
||||
|
||||
$this->no_sorting('select');
|
||||
|
||||
$this->set_attribute('id', 'participants');
|
||||
|
||||
Reference in New Issue
Block a user