From 9dbd244095219cdd31d7dceea64ca77327f3f93d Mon Sep 17 00:00:00 2001 From: loviuz Date: Fri, 23 Apr 2021 15:10:28 +0200 Subject: [PATCH] Invertito ordine cronologia logs --- editor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editor.php b/editor.php index 71330d209..c6808bbc8 100755 --- a/editor.php +++ b/editor.php @@ -338,7 +338,7 @@ if (empty($record) || !$has_access) { echo '
'; - $operations = $dbo->fetchArray('SELECT `zz_operations`.*, `zz_users`.`username` FROM `zz_operations` JOIN `zz_users` ON `zz_operations`.`id_utente` = `zz_users`.`id` WHERE id_module = '.prepare($id_module).' AND id_record = '.prepare($id_record).' ORDER BY `created_at` ASC LIMIT 200'); + $operations = $dbo->fetchArray('SELECT `zz_operations`.*, `zz_users`.`username` FROM `zz_operations` JOIN `zz_users` ON `zz_operations`.`id_utente` = `zz_users`.`id` WHERE id_module = '.prepare($id_module).' AND id_record = '.prepare($id_record).' ORDER BY `created_at` DESC LIMIT 200'); if (!empty($operations)) { echo '