mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-45232: mod_data: Simultaneously added entries do not sort correctly
This was picked up by behat on a fast machine, when using shorter polling interval.
This commit is contained in:
parent
e471fc6c9d
commit
368e04dc7a
@ -572,7 +572,7 @@ if ($showactivity) {
|
||||
AND r.dataid = :dataid
|
||||
AND r.userid = u.id ';
|
||||
$params['dataid'] = $data->id;
|
||||
$sortorder = ' ORDER BY '.$ordering.', r.id ASC ';
|
||||
$sortorder = " ORDER BY $ordering, r.id $order";
|
||||
$searchselect = '';
|
||||
|
||||
// If requiredentries is not reached, only show current user's entries
|
||||
|
Loading…
x
Reference in New Issue
Block a user