From: Alan Date: Thu, 16 Feb 2023 03:55:06 +0000 (+0800) Subject: using a fake total - we really need to move 'fast' searching (using ids) into Roo... X-Git-Url: http://git.roojs.org/?p=Pman.Base;a=commitdiff_plain;h=fe715f9190400f307046117476bbc2ea24f64bcb using a fake total - we really need to move 'fast' searching (using ids) into Roo... --- 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;