total number of hits is returned in $searchresult['count']

This commit is contained in:
Uwe Steinmann 2020-12-21 15:48:58 +01:00
parent 90b3298b60
commit 73f136b41d

View File

@ -231,8 +231,8 @@ if(((!isset($_GET["fullsearch"]) && $settings->_defaultSearchMethod == 'fulltext
} else {
$totalPages = 1;
}
$total = $searchresult['count'];
}
$total = $searchresult['total'];
$searchTime = getTime() - $startTime;
$searchTime = round($searchTime, 2);
} else {