Extra questions fixes
Change-Id: I3992758862abe9652f525e7b5d672a62db4d9691 Signed-off-by: smarcet <smarcet@gmail.com>
This commit is contained in:
@@ -48,6 +48,8 @@ class PresentationSerializer extends SummitEventSerializer
|
||||
'status',
|
||||
'progress',
|
||||
'selection_status',
|
||||
'disclaimer_accepted_date',
|
||||
'disclaimer_accepted'
|
||||
];
|
||||
|
||||
protected static $allowed_relations = [
|
||||
|
||||
@@ -13,6 +13,8 @@
|
||||
**/
|
||||
use App\Models\Foundation\ExtraQuestions\ExtraQuestionAnswer;
|
||||
use Doctrine\ORM\Mapping AS ORM;
|
||||
use models\utils\One2ManyPropertyTrait;
|
||||
|
||||
/**
|
||||
* @ORM\Entity
|
||||
* @ORM\Table(name="PresentationExtraQuestionAnswer")
|
||||
@@ -50,4 +52,14 @@ class PresentationExtraQuestionAnswer
|
||||
$this->presentation = null;
|
||||
}
|
||||
|
||||
use One2ManyPropertyTrait;
|
||||
|
||||
protected $getIdMappings = [
|
||||
'getPresentationId' => 'presentation',
|
||||
];
|
||||
|
||||
protected $hasPropertyMappings = [
|
||||
'hasPresentation' => 'presentation',
|
||||
];
|
||||
|
||||
}
|
||||
@@ -387,7 +387,6 @@ final class PresentationService
|
||||
});
|
||||
}
|
||||
|
||||
use PresentationRelationsManagement;
|
||||
/**
|
||||
* @param Summit $summit
|
||||
* @param SelectionPlan $selection_plan
|
||||
|
||||
Reference in New Issue
Block a user