DataObjects/Core_notify.php
[Pman.Core] / DataObjects / Core_notify.php
index fd7ece8..87b5a74 100644 (file)
@@ -138,7 +138,9 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
             $ji = $d->autoJoin();
             //print_R($jinfo);
             // get cols
-            
+            foreach($ji['cols'] as $cname=>$fname) {
+                $this->selectAdd($fname . ' as ontable_id_' . $cname );
+            }
             
             //$this->selectAdd($d->_query['data_select']); -- this will cause the same dataIndex...
             $this->_join .= "