ref S-0098 become S0098 without score
This commit is contained in:
@@ -179,6 +179,13 @@ class D7NodeMateriau extends FieldableEntity {
|
||||
}
|
||||
$row->setSourceProperty('field_location', $locations);
|
||||
|
||||
// reference
|
||||
if(!empty($row->getSourceProperty('field_reference_materio'))){
|
||||
$ref = $row->getSourceProperty('field_reference_materio')[0]['value'];
|
||||
$ref = str_replace('-','',$ref);
|
||||
$row->setSourceProperty('field_reference_materio', [["value"=>$ref]]);
|
||||
}
|
||||
|
||||
// workflow
|
||||
$query = $this->select('workflow_node', 'wn');
|
||||
$query->fields('wn', ['sid']);
|
||||
|
Reference in New Issue
Block a user