Skip to content

Commit

Permalink
MDL-55477 quiz reports: all user fields should have repeats suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
timhunt committed Aug 19, 2016
1 parent 3ca3cc7 commit 12a725b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mod/quiz/report/attemptsreport.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,10 @@ protected function add_user_columns($table, &$columns, &$headers) {
protected function configure_user_columns($table) {
$table->column_suppress('picture');
$table->column_suppress('fullname');
$table->column_suppress('idnumber');
$extrafields = get_extra_user_fields($this->context);
foreach ($extrafields as $field) {
$table->column_suppress($field);
}

$table->column_class('picture', 'picture');
$table->column_class('lastname', 'bold');
Expand Down

0 comments on commit 12a725b

Please sign in to comment.