From fe715f9190400f307046117476bbc2ea24f64bcb Mon Sep 17 00:00:00 2001 From: Alan Date: Thu, 16 Feb 2023 11:55:06 +0800 Subject: [PATCH] using a fake total - we really need to move 'fast' searching (using ids) into Roo... --- Pman/Roo.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Pman/Roo.php b/Pman/Roo.php index f161ba3..83bf522 100644 --- a/Pman/Roo.php +++ b/Pman/Roo.php @@ -273,6 +273,9 @@ class Pman_Roo extends Pman if (!isset($_REQUEST['_no_count'])) { $total = $xx->count($this->countWhat); } + if (isset($xx->_real_total)) { // this is used when we subquery the search. + $total = $xx->_real_total; + } // sorting.. // // var_dump($total);exit; -- 2.39.2