From 88f8ff468f83fb3a6013e597eecc816dabc46e68 Mon Sep 17 00:00:00 2001 From: Saophalkun Ponlu Date: Mon, 26 Apr 2010 23:49:59 +0000 Subject: [PATCH] MINOR: sort page comment table by Created field - show newest entries first git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.3@103528 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/CommentAdmin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/CommentAdmin.php b/code/CommentAdmin.php index e94155d3..e64e4e87 100644 --- a/code/CommentAdmin.php +++ b/code/CommentAdmin.php @@ -83,7 +83,7 @@ class CommentAdmin extends LeftAndMain { ); $idField = new HiddenField('ID', '', $section); - $table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter)); + $table = new CommentTableField($this, "Comments", "PageComment", $section, $tableFields, $popupFields, array($filter), 'Created DESC'); $table->setParentClass(false); $fields = new FieldSet(