projects
/
Pman.Core
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c1637e
)
DataObjects/Events.php
author
Chris
<chris@roojs.com>
Mon, 17 Dec 2012 09:18:18 +0000
(17:18 +0800)
committer
Chris
<chris@roojs.com>
Mon, 17 Dec 2012 09:18:18 +0000
(17:18 +0800)
DataObjects/Events.php
patch
|
blob
|
history
diff --git
a/DataObjects/Events.php
b/DataObjects/Events.php
index
b1d23a6
..
0de72c9
100644
(file)
--- a/
DataObjects/Events.php
+++ b/
DataObjects/Events.php
@@
-75,6
+75,16
@@
class Pman_Core_DataObjects_Events extends DB_DataObject
$this->whereAdd("$tn.on_table = ''");
}
+ // if not empty on_table
+ if(!empty($q['person_table']))
+ $jt = DB_DataObject::factory('person_ontable');
+
+ //$jt = DB_DataObjec factory person_ontable
+
+ // $this->_join = 'LEFT JOIN $jt->tableName() ';
+ // $this->_join
+
+
if (isset($q['query']['person_sum'])) {
//DB_DataObject::debugLevel(1);