MDL-63316 participants: lastname sort for participants table

This commit is contained in:
Andrew Zito
2020-02-28 14:34:01 -05:00
parent b4a13e9a65
commit b7fe18eb8b
2 changed files with 2 additions and 3 deletions
+2 -2
View File
@@ -220,8 +220,8 @@ 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');
// Make this table sorted by last name by default.
$this->sortable(true, 'lastname');
$this->no_sorting('select');
$this->no_sorting('roles');
@@ -132,7 +132,6 @@ Feature: View course participants
When I log in as "teacher1x"
And I am on "Course 1" course homepage
And I navigate to course participants
And I follow "Surname"
And I click on "Select all" "checkbox"
Then I should not see "Student 9x"
And the field "Select 'Teacher 1x'" matches value "1"