Prepopulate configurator form
This commit is contained in:
@@ -78,7 +78,10 @@ class OfferProcessor implements DataProcessorInterface
|
||||
$configuratorType = $offer->getConfiguratorType();
|
||||
/** @var \EP\EpEvents\Domain\Repository\TraveltypeRepository $repository */
|
||||
$repository = $objectManager->get(TraveltypeRepository::class);
|
||||
$processedData['travelType'] = $repository->findOneByConfiguratorType($configuratorType);
|
||||
$processedData['traveltype'] = $repository->findOneByConfiguratorType($configuratorType);
|
||||
}
|
||||
if ($offer->getLocation()) {
|
||||
$processedData['locationtype'] = $offer->getLocation()->getConfiguratorType();
|
||||
}
|
||||
$processedData['search'] = GeneralUtility::_GET('search');
|
||||
return $processedData;
|
||||
|
||||
Reference in New Issue
Block a user