diff --git a/code/forms/AssetTableField.php b/code/forms/AssetTableField.php index 7b0f185c..28d6c5fb 100644 --- a/code/forms/AssetTableField.php +++ b/code/forms/AssetTableField.php @@ -200,10 +200,7 @@ class AssetTableField extends ComplexTableField { } if(!($childData instanceof Folder)) { - $mainTab->addFieldToTab( - 'BottomRoot.Main', - new CheckboxField("ShowInSearch", $childData->fieldLabel('ShowInSearch')) - ); + $mainTab->push(new CheckboxField("ShowInSearch", $childData->fieldLabel('ShowInSearch'))); } if($childData && $childData->hasMethod('BackLinkTracking')) {