浏览代码

filterManager

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

正在加载...
取消
保存