mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 09:05:53 +00:00
ENHANCEMENT Allow editing of new File.ShowInSearch flag through AssetTableField
This commit is contained in:
parent
d15e8509b0
commit
bb757d13a4
@ -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(class_exists('Subsite')) Subsite::disable_subsite_filter(true);
|
||||
|
Loading…
x
Reference in New Issue
Block a user