mirror of
https://github.com/silverstripe/silverstripe-reports
synced 2024-10-22 11:05:53 +02:00
Show page title in comment table
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@39732 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
9f4c3d3196
commit
d521b06a8c
@ -32,8 +32,14 @@ class FeedbackAdmin extends LeftAndMain {
|
||||
$filter = 'IsSpam=1';
|
||||
}
|
||||
|
||||
$tableFields = array(
|
||||
"Name" => "Name",
|
||||
"Comment" => "Comment",
|
||||
"PageTitle" => "Page"
|
||||
);
|
||||
|
||||
$idField = new HiddenField('ID');
|
||||
$table = new ComplexTableField($this, "Comments", "PageComment", array("Name" => "Name", "Comment" => "Comment"), new FieldSet(), $filter);
|
||||
$table = new ComplexTableField($this, "Comments", "PageComment", $tableFields, new FieldSet(), $filter);
|
||||
|
||||
$fields = new FieldSet($idField, $table);
|
||||
$actions = new FieldSet();
|
||||
|
Loading…
Reference in New Issue
Block a user