浏览代码

Merge pull request #745 from benlumley/2.0

Add missing calls to configureShowfields on AdminExtensions
Thomas 13 年之前
父节点
当前提交
729368b798
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Admin/Admin.php

+ 4 - 0
Admin/Admin.php

@@ -616,6 +616,10 @@ abstract class Admin implements AdminInterface, DomainObjectInterface
         $this->configureShowField($mapper); // deprecated, use configureShowFields instead
         $this->configureShowFields($mapper);
 
+        foreach ($this->getExtensions() as $extension) {
+            $extension->configureShowFields($mapper);
+        }
+
         $this->show = $collection;
     }