projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
04db645
)
using a fake total - we really need to move 'fast' searching (using ids) into Roo...
author
Alan
<alan@roojs.com>
Thu, 16 Feb 2023 03:55:06 +0000
(11:55 +0800)
committer
Alan
<alan@roojs.com>
Thu, 16 Feb 2023 03:55:06 +0000
(11:55 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
f161ba3
..
83bf522
100644
(file)
--- 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($_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;
// sorting..
//
// var_dump($total);exit;