From 7be863ce84f61abe4b500b16480869bf71b3a70e Mon Sep 17 00:00:00 2001 From: d47081 Date: Fri, 15 Jul 2022 18:19:59 +0300 Subject: [PATCH] disable SEF pagination on search request --- public/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/index.php b/public/index.php index 0f958ee..dfb3253 100755 --- a/public/index.php +++ b/public/index.php @@ -69,7 +69,7 @@ foreach ($db->getData($ns, $tx, $query, $limit, PAGE_LIMIT) as $value) { ]; } -if (SEF_MODE) { +if (SEF_MODE && !$query) { if (in_array($page, [0, 1])) { $newer = false;