DataObjects/Core_notify.php
authorAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 11:06:52 +0000 (19:06 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 25 Jul 2013 11:06:52 +0000 (19:06 +0800)
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 .= "