projects
/
Pman.Base
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6800ba
)
Pman/Roo.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 11:15:56 +0000
(19:15 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 11 Nov 2010 11:15:56 +0000
(19:15 +0800)
Pman/Roo.php
patch
|
blob
|
history
diff --git
a/Pman/Roo.php
b/Pman/Roo.php
index
82e054c
..
7766e83
100644
(file)
--- a/
Pman/Roo.php
+++ b/
Pman/Roo.php
@@
-724,6
+724,7
@@
class Pman_Roo extends Pman
$tn = sprintf($ocl.'_%s', $c);
if ($tn == $distinct) {
$has_distinct = 'DISTINCT( ' . 'join_'.$ocl.'_'.$col.'.'.$k .') as ' . $tc ;
+ $this->countWhat = 'DISTINCT join_'.$ocl.'_'.$col.'.'.$k;
continue;
}