From c2783c6d7086d56e9e746aa6a9ed95a84acbff26 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 15 Dec 2020 21:39:10 +0100 Subject: [PATCH] fix calculating total of docs and folders --- 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 9c8ccf174..3b0e6ca11 100644 --- a/out/out.Search.php +++ b/out/out.Search.php @@ -482,7 +482,7 @@ if(((!isset($_GET["fullsearch"]) && $settings->_defaultSearchMethod == 'fulltext 'expirationenddate'=>$expirationdate ? $expstopdate : array(), 'orderby'=>$orderby )); - $total = $resArr['totalDocs'] + $res['totalFolders']; + $total = $resArr['totalDocs'] + $resArr['totalFolders']; $searchTime = getTime() - $startTime; $searchTime = round($searchTime, 2);