projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92748b4
)
DataObjects/Events.php
author
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 06:37:39 +0000
(14:37 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 28 Sep 2011 06:37:39 +0000
(14:37 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
d0dd5e5
..
8a10121
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-38,7
+38,10
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$dt = date('Y-m-d' , strtotime($q['query']['to']));
$this->whereAdd(" Events.event_when <= '$dt' ");
}
-
+ if (!empty($q['query']['grouped']) && $q['query']['grouped'] == 'gr') {
+ // grouped..
+ }
+
}
/**
* check who is trying to access this. false == access denied..