projects
/
Pman.Core
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
DataObjects/Core_notify.php
[Pman.Core]
/
DataObjects
/
Core_notify.php
diff --git
a/DataObjects/Core_notify.php
b/DataObjects/Core_notify.php
index
04bdc32
..
8f5845c
100644
(file)
--- a/
DataObjects/Core_notify.php
+++ b/
DataObjects/Core_notify.php
@@
-135,8
+135,12
@@
class Pman_Core_DataObjects_Core_notify extends DB_DataObject
//DB_DAtaObject::DebugLevel(1);
// then we can build a join..
$d = DB_DataObject::Factory($q['ontable']);
//DB_DAtaObject::DebugLevel(1);
// then we can build a join..
$d = DB_DataObject::Factory($q['ontable']);
- $jinfo = $d->autoJoin();
- print_R($jinfo);
+ $ji = $d->autoJoin();
+ echo '<PRE>';print_R($ji);
+ // get cols
+ foreach($ji['join_names'] as $cname=>$fname) {
+ $this->selectAdd($fname . ' as ontable_id_' . $cname );
+ }
//$this->selectAdd($d->_query['data_select']); -- this will cause the same dataIndex...
$this->_join .= "
//$this->selectAdd($d->_query['data_select']); -- this will cause the same dataIndex...
$this->_join .= "