projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7db8e
)
Pman/Roo.php
author
leon
<leon@roojs.com>
Tue, 2 Aug 2022 04:59:04 +0000
(12:59 +0800)
committer
leon
<leon@roojs.com>
Tue, 2 Aug 2022 04:59:04 +0000
(12:59 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
ef6bfee
..
dd6aba7
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-269,7
+269,9
@@
class Pman_Roo extends Pman
}
- $total = $xx->count($this->countWhat);
+ if (!isset($_REQUEST['_no_count'])) {
+ $total = $xx->count($this->countWhat);
+ }
// sorting..
//
// var_dump($total);exit;
@@
-277,7
+279,7
@@
class Pman_Roo extends Pman
$fake_limit = false;
- if (!empty($_REQUEST['_distinct']) && $total < 400) {
+ if (!empty($_REQUEST['_distinct']) &&
!isset($_REQUEST['_no_count']) &&
$total < 400) {
$fake_limit = true;
}