mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API CHANGE: Allow DataObject searchablefields to be decorated with updateSearchableFields
API CHANGE: Allow Group CMS fields to be decorated with updateCMSFields API CHANGE: TableListField utility links no longer have target=_blank git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@60665 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
e020ff3f25
commit
7063547b58
@ -2396,6 +2396,8 @@ class DataObject extends ViewableData implements DataObjectInterface {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$fields = $rewrite;
|
$fields = $rewrite;
|
||||||
|
|
||||||
|
$this->extend('updateSearchableFields', $fields);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
@ -105,6 +105,8 @@ class Group extends DataObject {
|
|||||||
|
|
||||||
$fields->push($idField = new HiddenField("ID"));
|
$fields->push($idField = new HiddenField("ID"));
|
||||||
|
|
||||||
|
$this->extend('updateCMSFields', $fields);
|
||||||
|
|
||||||
return $fields;
|
return $fields;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -75,7 +75,7 @@
|
|||||||
</table>
|
</table>
|
||||||
<div class="utility">
|
<div class="utility">
|
||||||
<% control Utility %>
|
<% control Utility %>
|
||||||
<span class="item"><a href="$Link" target="_blank">$Title</a></span>
|
<span class="item"><a href="$Link">$Title</a></span>
|
||||||
<% end_control %>
|
<% end_control %>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
Loading…
Reference in New Issue
Block a user