fix calculating total of docs and folders

This commit is contained in:
Uwe Steinmann 2020-12-15 21:39:10 +01:00
parent a3be420b88
commit c2783c6d70

View File

@ -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);