Ver código fonte

AdminController : correction filtre merchant sur les entités chargées dans les select des formulaires

reduction
Guillaume 4 anos atrás
pai
commit
34bff0f5ff
1 arquivos alterados com 1 adições e 2 exclusões
  1. +1
    -2
      ShopBundle/Controller/Admin/AdminController.php

+ 1
- 2
ShopBundle/Controller/Admin/AdminController.php Ver arquivo

@@ -353,8 +353,7 @@ class AdminController extends EasyAdminController
$type = $child->getConfig()->getType()->getInnerType() ;

if($type instanceof EntityType) {
$attributes = $child->getConfig()->getAttributes() ;
$passedOptions = $attributes['data_collector/passed_options'] ;
$passedOptions = $child->getConfig()->getOptions() ;
$classImplements = class_implements($passedOptions['class']) ;

if(in_array('App\Context\FilterHubInterface', $classImplements) ||

Carregando…
Cancelar
Salvar