/** * Prepares refresh relation select query for given product_id * * @return Varien_Db_Select */ protected function _getRefreshRelationSelectSql() { $select = parent::_getRefreshRelationSelectSql(); return $this->_addRedirectIdWhere($select); }
/** * Prepares refresh relation select query for given redirect_id * * @return Varien_Db_Select */ protected function _getRefreshRelationSelectSql() { $select = parent::_getRefreshRelationSelectSql(); $select->where('r.redirect_id IN (?)', $this->_getChangedIds()); return $select; }