|
|
@@ -194,8 +194,9 @@ class AdminController extends EasyAdminController |
|
|
|
)); |
|
|
|
$this->filtersForm->handleRequest($this->request); |
|
|
|
$easyadmin = $this->request->attributes->get('easyadmin'); |
|
|
|
|
|
|
|
if (($this->filtersForm->isSubmitted() && $this->filtersForm->isValid()) || $this->entity[$easyadmin['view']]['filters']!==false) { |
|
|
|
$view = $easyadmin['view']; |
|
|
|
if($easyadmin['view']=='listChildren') $view = 'list'; |
|
|
|
if (($this->filtersForm->isSubmitted() && $this->filtersForm->isValid()) || $this->entity[$view]['filters']!==false) { |
|
|
|
foreach ($listFields as $field) { |
|
|
|
//if ($this->filtersForm->has($field['property'])->getConfig()->getOption('AdminController')) { |
|
|
|
if ($this->filtersForm->has($field['property'])) { |