From bcd3524eebd1cc0e03f5999d473af9c95d06b749 Mon Sep 17 00:00:00 2001 From: Benjamin Gaussorgues Date: Tue, 29 Oct 2024 11:32:14 +0100 Subject: [PATCH] Test Signed-off-by: Benjamin Gaussorgues --- lib/private/User/Manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 7f5b06cc5f654..32497efeb86c5 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -760,6 +760,7 @@ public function getLastLoggedInUsers(?int $limit = null, int $offset = 0, string ->andWhere($queryBuilder->expr()->eq('pref_login.configkey', $queryBuilder->expr()->literal('lastLogin'))) ->setFirstResult($offset) ->setMaxResults($limit) + ->runAcrossAllShards() ; // Oracle don't want to run ORDER BY on CLOB column