Dear David,
I know you are doing a great job, Moodle is awesome but I upgraded to the 3.1.3 version and I have the same bug. Don't worry, I have tried to edit the code to fix this bug but I don't have enough knowledge of Moodle code so I did what I could.
I changed the file renderer.php:
- I put the line 437 inside the if statement:
- if ($options->showauthornames) {
$table->head[] = $sortbyname;
}
- I added "$options->showauthornames and" in the line 489
- if ($options->showauthornames and $tr == 0) {
Now If I set "mod/workshop:viewallassessments" and "mod/workshop:viewallsubmissions" permissions to students Rol and I remove "mod/workshop:viewauthornames", "mod/workshop:viewauthornames", "mod/workshop:viewauthorpublished", "mod/workshop:viewpublishedsubmissions" and "mod/workshop:viewreviewernames" permissions to students Rol my students can view all submissions without the name of the authors.
I have attached the renderer.php file with the changes.
I don't know if this site is the best place to put my changes.
All the best,
Toni