aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/shared/log_event.php
diff options
context:
space:
mode:
authorPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
committerPhilipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de>2024-09-24 10:53:31 +0200
commit4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch)
tree5c07151ae61276d334e88f6309c30d439a85c12e /app/controllers/shared/log_event.php
parentda0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff)
parent97a188592c679890a25c37ab78463add76a52ff7 (diff)
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'app/controllers/shared/log_event.php')
-rw-r--r--app/controllers/shared/log_event.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/shared/log_event.php b/app/controllers/shared/log_event.php
index 0355e45..3d8af7e 100644
--- a/app/controllers/shared/log_event.php
+++ b/app/controllers/shared/log_event.php
@@ -122,12 +122,12 @@ class Shared_LogEventController extends MVVController
$search_action .= " AND `log_actions`.`name` LIKE CONCAT('%_'," . DBManager::get()->quote($log_action) . ")";
}
- $statement = DBManager::get()->prepare("SELECT *, `log_actions`.`name`
+ $statement = DBManager::get()->prepare("SELECT *
FROM `log_events`
LEFT JOIN `log_actions` ON `log_events`.`action_id` = `log_actions`.`action_id`
WHERE `info` = ?
" . $search_action . "
- ORDER BY `log_events`.`mkdate` DESC");
+ ORDER BY `log_events`.`event_id` DESC");
$statement->execute([$mvv_field]);
$res = $statement->fetchOne();
if ($res) {