|
|
@@ -384,7 +384,7 @@ abstract class AbstractAdminController extends EaAbstractCrudController |
|
|
|
) |
|
|
|
); |
|
|
|
|
|
|
|
$filterManager = $this->get('filter_manager'); |
|
|
|
$filterManager = $this->get(FilterManager::class); |
|
|
|
|
|
|
|
$this->filtersForm->handleRequest($searchDto->getRequest()); |
|
|
|
/*if (($this->filtersForm->isSubmitted() && $this->filtersForm->isValid())) { |
|
|
@@ -751,7 +751,7 @@ abstract class AbstractAdminController extends EaAbstractCrudController |
|
|
|
$controller->configureFields($autocompleteContext['originatingPage']) |
|
|
|
)->getByProperty($autocompleteContext['propertyName']); |
|
|
|
|
|
|
|
$filterManager = $this->get('filter_manager'); |
|
|
|
$filterManager = $this->get(FilterManager::class); |
|
|
|
|
|
|
|
$filterManager->applyFilter($queryBuilder, $field, $context->getRequest()->query->get('q')); |
|
|
|
if ($filterManager->isRelationField($field->getProperty())) { |