Pārlūkot izejas kodu

indiv data definition

develop
Charly pirms 3 gadiem
vecāks
revīzija
0542eac706
2 mainītis faili ar 4 papildinājumiem un 2 dzēšanām
  1. +3
    -1
      Controller/IndividualData/IndividualDataAdminController.php
  2. +1
    -1
      Definition/Field/IndividualData/IndividualDataFieldDefinition.php

+ 3
- 1
Controller/IndividualData/IndividualDataAdminController.php Parādīt failu

@@ -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;
}

+ 1
- 1
Definition/Field/IndividualData/IndividualDataFieldDefinition.php Parādīt failu

@@ -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);

Notiek ielāde…
Atcelt
Saglabāt