mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUG Escape page titles in CommentAdmin table listing
This commit is contained in:
parent
4c525fe801
commit
c7b0666390
@ -93,7 +93,8 @@ class CommentAdmin extends LeftAndMain {
|
||||
$table->setParentClass(false);
|
||||
$table->setFieldCasting(array(
|
||||
'Created' => 'SS_Datetime->Full',
|
||||
'Comment' => array('HTMLText->LimitCharacters', 150)
|
||||
'Comment' => array('HTMLText->LimitCharacters', 150),
|
||||
'Parent.Title' => 'Text',
|
||||
));
|
||||
|
||||
$table->setPageSize(self::get_comments_per_page());
|
||||
|
Loading…
Reference in New Issue
Block a user