- contributorType in edit form of Editor
- contributorType in OAI
This commit is contained in:
parent
3a2336adad
commit
cf996de390
14 changed files with 45 additions and 19 deletions
|
@ -400,9 +400,9 @@ class IndexController extends Controller
|
|||
foreach ($request->get('contributors') as $key => $contributor) {
|
||||
$pivot_data = [
|
||||
'role' => 'contributor',
|
||||
'sort_order' => $key + 1,
|
||||
'contributor_type' => $contributor['contributor_type']
|
||||
'sort_order' => $key + 1
|
||||
];
|
||||
$pivot_data = array_merge($pivot_data, $contributor['pivot']);
|
||||
if (isset($contributor['id'])) {
|
||||
//$data_to_sync[$person['id']] = $pivot_data;
|
||||
$dataset->persons()->attach($contributor['id'], $pivot_data);
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue