- 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:
parent
cf996de390
commit
9d8625225f
4 changed files with 70 additions and 59 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue