@@ -62,7 +62,9 @@ abstract class IndividualDataAdminController extends AbstractAdminController | |||
$filters | |||
); | |||
$queryBuilder->andWhere('entity.status = ' . $searchDto->getRequest()->get('status')); | |||
if ($searchDto->getRequest()->get('status')) { | |||
$queryBuilder->andWhere('entity.status = ' . $searchDto->getRequest()->get('status')); | |||
} | |||
return $queryBuilder; | |||
} |
@@ -67,7 +67,7 @@ class IndividualDataFieldDefinition extends AbstractFieldDefinition | |||
->setFormTypeOption('entry_type', ProjectBoostType::class) | |||
->setFormTypeOption('by_reference', false) | |||
->setRequired(false); | |||
$fields['projectinspiring'] = CollectionField::new('projectinspiring') | |||
$fields['projectInspiring'] = CollectionField::new('projectinspiring') | |||
->setFormTypeOption('entry_type', ProjectInspiringType::class) | |||
->setFormTypeOption('by_reference', false) | |||
->setRequired(false); |