From cbdaa882296ebf6a04e5bef45c555716c22e07e1 Mon Sep 17 00:00:00 2001 From: z Date: Tue, 13 Oct 2020 09:32:39 +0800 Subject: [PATCH] * adjust code. --- lib/base/dao/dao.class.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/base/dao/dao.class.php b/lib/base/dao/dao.class.php index baa259657a..fae9d3201c 100644 --- a/lib/base/dao/dao.class.php +++ b/lib/base/dao/dao.class.php @@ -728,6 +728,7 @@ class baseDAO */ $originalPageID = $pager->pageID; $recTotal = $this->count($distinctField); + $pager->setRecTotal($recTotal); $pager->setPageTotal(); if($originalPageID > $pager->pageTotal) $pager->setPageID($pager->pageTotal);