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:
Saophalkun Ponlu 2008-08-13 23:57:53 +00:00
parent e020ff3f25
commit 7063547b58
3 changed files with 5 additions and 1 deletions

View File

@ -2396,6 +2396,8 @@ class DataObject extends ViewableData implements DataObjectInterface {
}
}
$fields = $rewrite;
$this->extend('updateSearchableFields', $fields);
return $fields;
}

View File

@ -105,6 +105,8 @@ class Group extends DataObject {
$fields->push($idField = new HiddenField("ID"));
$this->extend('updateCMSFields', $fields);
return $fields;
}

View File

@ -75,7 +75,7 @@
</table>
<div class="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 %>
</div>
</div>