fixes #2259 order by activity_id instead of occured_on

This commit is contained in:
Linty 2024-10-30 10:43:50 +01:00
parent 99a3592eae
commit 78769be780

View file

@ -36,7 +36,7 @@ if (is_webmaster())
FROM '.ACTIVITY_TABLE.'
LEFT JOIN '.USERS_TABLE.' ON performed_by = '.$conf['user_fields']['id'].'
WHERE object = \'system\'
ORDER BY occured_on DESC';
ORDER BY activity_id DESC';
// Format our data for frontend
$result = pwg_query($query);