mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-27 03:39:57 +03:00
fixes #2259 order by activity_id instead of occured_on
This commit is contained in:
parent
99a3592eae
commit
78769be780
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ if (is_webmaster())
|
||||||
FROM '.ACTIVITY_TABLE.'
|
FROM '.ACTIVITY_TABLE.'
|
||||||
LEFT JOIN '.USERS_TABLE.' ON performed_by = '.$conf['user_fields']['id'].'
|
LEFT JOIN '.USERS_TABLE.' ON performed_by = '.$conf['user_fields']['id'].'
|
||||||
WHERE object = \'system\'
|
WHERE object = \'system\'
|
||||||
ORDER BY occured_on DESC';
|
ORDER BY activity_id DESC';
|
||||||
|
|
||||||
// Format our data for frontend
|
// Format our data for frontend
|
||||||
$result = pwg_query($query);
|
$result = pwg_query($query);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue