mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 17:02:03 +02:00
MDL-59436 user: Apply default sorting for participants table
This commit is contained in:
parent
a9991533fa
commit
f7cd3bc0e1
@ -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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user