This commit is contained in:
tianshujie
2024-04-10 14:35:23 +08:00
parent 1a2f5802ed
commit 4f3487ce92
+1 -1
View File
@@ -546,7 +546,7 @@ class searchModel extends model
if(empty($results)) return $results;
/* Reset pager total and get this page data. */
if($pager) $this->searchTao->setResultsInPage($results, $pager);
if($pager) $results = $this->searchTao->setResultsInPage($results, $pager);
$objectList = $this->searchTao->getobjectList($idListGroup);
return $this->processResults($results, $objectList, $words);