mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-50814 badges: Fix incorrect default ordering
This commit is contained in:
parent
9325cd963f
commit
d3754a972d
@ -48,7 +48,7 @@ if (!in_array($sortby, array('name', 'dateissued'))) {
|
||||
}
|
||||
|
||||
if ($sorthow != 'ASC' && $sorthow != 'DESC') {
|
||||
$sorthow = 'ACS';
|
||||
$sorthow = 'ASC';
|
||||
}
|
||||
|
||||
if ($page < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user