This commit is contained in:
Adrian Greeve 2021-02-11 10:19:39 +08:00
commit e54ee9e512
2 changed files with 4 additions and 1 deletions

View File

@ -233,7 +233,7 @@ foreach ($overrides as $override) {
} else {
$usercell = new html_table_cell();
$usercell->rowspan = count($fields);
$usercell->text = html_writer::link(new moodle_url($groupurl, ['id' => $override->userid]),
$usercell->text = html_writer::link(new moodle_url($userurl, ['id' => $override->userid]),
fullname($override) . $extranamebit);
$usercells[] = $usercell;

View File

@ -69,6 +69,9 @@ Feature: Quiz user override
And "Edit" "icon" should exist in the "Student One" "table_row"
And "copy" "icon" should exist in the "Student One" "table_row"
And "Delete" "icon" should exist in the "Student One" "table_row"
And I follow "Student One"
And I should see "Student One"
And I should see "User details"
@javascript
Scenario: Teacher without 'See full user identity in lists' can see and edit overrides