mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-09-30 21:29:31 +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->setParentClass(false);
|
||||||
$table->setFieldCasting(array(
|
$table->setFieldCasting(array(
|
||||||
'Created' => 'SS_Datetime->Full',
|
'Created' => 'SS_Datetime->Full',
|
||||||
'Comment' => array('HTMLText->LimitCharacters', 150)
|
'Comment' => array('HTMLText->LimitCharacters', 150),
|
||||||
|
'Parent.Title' => 'Text',
|
||||||
));
|
));
|
||||||
|
|
||||||
$table->setPageSize(self::get_comments_per_page());
|
$table->setPageSize(self::get_comments_per_page());
|
||||||
|
Loading…
Reference in New Issue
Block a user