- 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
|
@ -233,6 +233,7 @@ class SubmitController extends Controller
|
|||
$index = 0;
|
||||
foreach ($request->get('contributors') as $key => $person) {
|
||||
$pivot_data = ['role' => 'contributor', 'sort_order' => $index + 1, 'allow_email_contact' => false];
|
||||
$pivot_data = array_merge($pivot_data, $person['pivot']);
|
||||
// if ($galery_id == $request->get('mainPicture')) $pivot_data = ['main' => 1];
|
||||
if (isset($person['id'])) {
|
||||
// $data_to_sync[$person['id']] = $pivot_data;
|
||||
|
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue