aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJan-Hendrik Willms <tleilax+studip@gmail.com>2024-04-23 09:47:35 +0000
committerJan-Hendrik Willms <tleilax+studip@gmail.com>2024-04-23 09:47:35 +0000
commitec645615ce5e29469fda57d689bb6b5c3f7c0b65 (patch)
treefd03a9448d6736ee00f498a6c5ca8f7f7e59cbe1 /lib
parente0b123ac6abb86ed90426638e3f617a02925c156 (diff)
fixes #4062
Closes #4062 Merge request studip/studip!2908
Diffstat (limited to 'lib')
-rw-r--r--lib/classes/EventLog.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/EventLog.php b/lib/classes/EventLog.php
index 7336415..b20b997 100644
--- a/lib/classes/EventLog.php
+++ b/lib/classes/EventLog.php
@@ -87,7 +87,7 @@ class EventLog
$offset = (int) $offset;
$filter = $this->sql_event_filter($action_id, $object_id, $parameters) ?: '1';
- $filter .= " ORDER BY mkdate DESC, event_id DESC LIMIT {$offset}, 50";
+ $filter .= " ORDER BY event_id DESC LIMIT {$offset}, 50";
$log_events = LogEvent::findBySQL($filter, $parameters);
$events = [];