From ffa4519da197a4aed8dd96047e56080b47271994 Mon Sep 17 00:00:00 2001 From: Matthieu Leproux Date: Mon, 10 Jan 2022 10:03:50 +0100 Subject: [PATCH] related to #1595 Temporary fix before pagination --- include/ws_functions/pwg.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ws_functions/pwg.php b/include/ws_functions/pwg.php index a930f5591..255692649 100644 --- a/include/ws_functions/pwg.php +++ b/include/ws_functions/pwg.php @@ -444,8 +444,8 @@ SELECT occured_on, details FROM '.ACTIVITY_TABLE.' - ORDER BY activity_id DESC -;'; + ORDER BY activity_id DESC LIMIT 100000 +;'; //Limited to 100k before implementing pagination in v.13 (issue #1595) $line_id = 0; $result = pwg_query($query);