Industrials OK
Company CT account, contact, admin, sample USERS Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
@@ -21,7 +21,7 @@ class MaterioMateriauNodeMigration extends MaterioBasicMigration {
|
||||
$query
|
||||
->fields('pod_id', array('id_product', 'id_materio', 'status', 'temp_flag', 'sample_status', 'memo', 'source', 'date_creation', 'date_modif'))
|
||||
->fields('prod_info', array('name', 'nature', 'description', 'usage', 'technical', 'keywords'))
|
||||
->orderBy('id_product', 'DESC');
|
||||
->orderBy('prod_id.id_product', 'DESC');
|
||||
|
||||
$query->groupBy('prod_id.id_product');
|
||||
|
||||
@@ -59,4 +59,15 @@ class MaterioMateriauNodeMigration extends MaterioBasicMigration {
|
||||
//$this->addFieldMapping('field_nature_titre', 'nature');
|
||||
|
||||
}
|
||||
|
||||
public function prepareRow($cr){
|
||||
|
||||
$cr->company = trim($cr->company);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user