Charly пре 3 година
родитељ
комит
8add34eae2
1 измењених фајлова са 2 додато и 2 уклоњено
  1. +2
    -2
      Controller/AbstractAdminController.php

+ 2
- 2
Controller/AbstractAdminController.php Прегледај датотеку

@@ -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())) {

Loading…
Откажи
Сачувај