/** * Initialize collection select * * @return Mage_Tag_Model_Mysql4_Product_Collection */ protected function _initSelect() { parent::_initSelect(); $this->_joinFields(); $this->getSelect()->group('e.entity_id'); return $this; }
protected function _initSelect() { parent::_initSelect(); $this->_joinFields(); return $this; }
/** * Initialize collection select */ protected function _initSelect() { parent::_initSelect(); $this->getSelect()->join(array('selection' => $this->_selectionTable), '`selection`.`product_id`=`e`.`entity_id`', array('*')); }
protected function _initSelect() { parent::_initSelect(); $this->getSelect()->join(array('link_table' => $this->_linkTable), 'link_table.product_id=e.entity_id', array('parent_id')); }