mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
MDL-63571 grades: switch firstname/lastname order in title row
This commit is contained in:
parent
dccda6546b
commit
b08e7312c3
1 changed files with 4 additions and 4 deletions
|
@ -1914,9 +1914,9 @@ class grade_report_grader extends grade_report {
|
|||
$firstlink = html_writer::link(new moodle_url($this->baseurl, array('sortitemid'=>'firstname')), $strfirstname);
|
||||
$lastlink = html_writer::link(new moodle_url($this->baseurl, array('sortitemid'=>'lastname')), $strlastname);
|
||||
|
||||
$arrows['studentname'] = $lastlink;
|
||||
$arrows['studentname'] = $firstlink;
|
||||
|
||||
if ($this->sortitemid === 'lastname') {
|
||||
if ($this->sortitemid === 'firstname') {
|
||||
if ($this->sortorder == 'ASC') {
|
||||
$arrows['studentname'] .= $iconasc;
|
||||
} else {
|
||||
|
@ -1924,9 +1924,9 @@ class grade_report_grader extends grade_report {
|
|||
}
|
||||
}
|
||||
|
||||
$arrows['studentname'] .= ' ' . $firstlink;
|
||||
$arrows['studentname'] .= ' ' . $lastlink;
|
||||
|
||||
if ($this->sortitemid === 'firstname') {
|
||||
if ($this->sortitemid === 'lastname') {
|
||||
if ($this->sortorder == 'ASC') {
|
||||
$arrows['studentname'] .= $iconasc;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue