ENHANCEMENT Allow editing of new File.ShowInSearch flag through AssetTableField

This commit is contained in:
Ingo Schommer 2011-09-15 16:17:47 +02:00
parent d15e8509b0
commit bb757d13a4

View File

@ -194,6 +194,12 @@ class AssetTableField extends ComplexTableField {
) )
); );
} }
if(!($childData instanceof Folder)) {
$mainTab->push(
new CheckboxField("ShowInSearch", $childData->fieldLabel('ShowInSearch'))
);
}
if($childData && $childData->hasMethod('BackLinkTracking')) { if($childData && $childData->hasMethod('BackLinkTracking')) {
if(class_exists('Subsite')) Subsite::disable_subsite_filter(true); if(class_exists('Subsite')) Subsite::disable_subsite_filter(true);