From 4f3487ce92026ed7dbd0a8a4c858a85f018ae47e Mon Sep 17 00:00:00 2001 From: tianshujie Date: Wed, 10 Apr 2024 14:34:53 +0800 Subject: [PATCH] * Fix bug #47679. --- module/search/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/search/model.php b/module/search/model.php index 9098f45bc8..b115f1557f 100644 --- a/module/search/model.php +++ b/module/search/model.php @@ -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);