- composer updates

- IndexController.php: save crators with nameType 'Personal'
- change datacite to version 4.3
- date elements in datacite have the attribute dateType
This commit is contained in:
Arno Kaimbacher 2020-05-06 13:17:40 +02:00
parent cf996de390
commit 9d8625225f
4 changed files with 70 additions and 59 deletions

View file

@ -378,7 +378,7 @@ class IndexController extends Controller
} else {
$dataPerson = new Person($person);
$dataPerson->status = true;
$dataPerson->name_type = "Organizational";
$dataPerson->name_type = "Personal";
$dataset->persons()->save($dataPerson, $pivot_data);
}
}
@ -409,7 +409,7 @@ class IndexController extends Controller
} else {
$dataContributor = new Person($contributor);
$dataContributor->status = true;
$dataContributor->name_type = "Organizational";
// $dataContributor->name_type = "Organizational";
$dataset->persons()->save($dataContributor, $pivot_data);
}
}