From a409e38973a16ffca14456928603fbcd3564c77c Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Mon, 22 Sep 2025 10:41:29 +0200 Subject: [PATCH] set upper limit of 1000 if everything shall be shown --- out/out.Search.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/out/out.Search.php b/out/out.Search.php index dca8831bc..90676f306 100644 --- a/out/out.Search.php +++ b/out/out.Search.php @@ -370,7 +370,7 @@ if($fullsearch) { 'filesize_start'=>$filesize['from'], 'filesize_end'=>$filesize['to'], 'attributes'=>$attributes - ), ($pageNumber == 'all' ? array() : array('limit'=>$limit, 'offset'=>$limit * ($pageNumber-1))), $order); + ), ($pageNumber == 'all' ? array('limit'=>1000) : array('limit'=>$limit, 'offset'=>$limit * ($pageNumber-1))), $order); if($searchresult === false) { $session->setSplashMsg(array('type'=>'error', 'msg'=>getMLText('splash_invalid_searchterm'))); $dcount = 0;