From 313064b0a499ab612e50538d3c3cb470f0ebc7ae Mon Sep 17 00:00:00 2001 From: Stephan Date: Mon, 16 Mar 2026 09:23:10 +0000 Subject: [PATCH] TransparencyLog: fix count query performance (#1689) --- src/Controller/TransparencyLogController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/TransparencyLogController.php b/src/Controller/TransparencyLogController.php index 8f8a521d0..83dec4224 100644 --- a/src/Controller/TransparencyLogController.php +++ b/src/Controller/TransparencyLogController.php @@ -66,7 +66,7 @@ public function viewAuditLogs(Request $request, AuditRecordRepository $auditReco AuditRecordType::TwoFaAuthenticationDeactivated->value, ]); - $auditLogs = new Pagerfanta(new QueryAdapter($qb, false)); + $auditLogs = new Pagerfanta(new QueryAdapter($qb, false, false)); $auditLogs->setNormalizeOutOfRangePages(true); $auditLogs->setMaxPerPage(20); $auditLogs->setCurrentPage(max(1, $request->query->getInt('page', 1)));