|
|
|
@ -643,8 +643,10 @@ class Changeset |
|
|
|
|
*/ |
|
|
|
|
public function addFilledRows($csvArray) |
|
|
|
|
{ |
|
|
|
|
$columns = collect($this->fetchAndTransformColumns())->where('toRemove', false); |
|
|
|
|
|
|
|
|
|
/** @var Column[] $columns */ |
|
|
|
|
$columns = array_values($this->fetchAndTransformColumns()); |
|
|
|
|
$columns = $columns->values()->all(); |
|
|
|
|
|
|
|
|
|
$rows = self::csvToRowsArray($columns, $csvArray, false, true) |
|
|
|
|
->keyBy('_id'); |
|
|
|
|