Browse Source

Merge pull request #745 from benlumley/2.0

Add missing calls to configureShowfields on AdminExtensions
Thomas 13 years ago
parent
commit
729368b798
1 changed files with 4 additions and 0 deletions
  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->configureShowField($mapper); // deprecated, use configureShowFields instead
         $this->configureShowFields($mapper);
         $this->configureShowFields($mapper);
 
 
+        foreach ($this->getExtensions() as $extension) {
+            $extension->configureShowFields($mapper);
+        }
+
         $this->show = $collection;
         $this->show = $collection;
     }
     }