projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
464c201
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Mon, 3 Sep 2012 08:29:14 +0000
(16:29 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 3 Sep 2012 08:29:14 +0000
(16:29 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
25265c2
..
63b613c
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-81,7
+81,7
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$this->selectAdd("count($tn.id) as qty");
$this->selectAdd("count( distinct $tn.on_id) as uqty");
$this->whereAdd('LENGTH(join_person_id_id.name) > 0 ');
- $this->groupBy('person_id');
+ $this->groupBy('person_id
,join_person_id_id.name
');
}
if (isset($q['query']['table_sum'])) {
//DB_DataObject::debugLevel(1);