projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4464b99
)
DataObjects/Events.php
author
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Nov 2011 02:57:40 +0000
(10:57 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Thu, 24 Nov 2011 02:57:40 +0000
(10:57 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
3c69a92
..
54e86a0
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-56,6
+56,15
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
}
+ if (!empty($q['query']['viewtype']) && $q['query']['viewtype'] == 'summary') {
+ $this->selectAdd('COUNT(on_id) as no_changed');
+ $this->groupBy('on_table');
+
+
+ }
+
+
+
}
/**