mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
MDL-12627 - when visiting the gradebook for the first time, we don't sort
by anything sensible. Default to surname merged from MOODLE_19_STABLE
This commit is contained in:
parent
2462e5eb20
commit
d20737e8bf
@ -276,7 +276,10 @@ class grade_report_grader extends grade_report {
|
||||
|
||||
if (isset($SESSION->gradeuserreport->sortitemid)) {
|
||||
$this->sortitemid = $SESSION->gradeuserreport->sortitemid;
|
||||
}else{
|
||||
$this->sortitemid = 'lastname';
|
||||
}
|
||||
|
||||
if (isset($SESSION->gradeuserreport->sort)) {
|
||||
$this->sortorder = $SESSION->gradeuserreport->sort;
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user