From 317977a227398466256ba759304dbcb4820aec9c Mon Sep 17 00:00:00 2001 From: Ingo Schommer Date: Tue, 22 Jan 2013 15:37:20 +0100 Subject: [PATCH] More useful default cols on "Pages" list (fixes #8199) --- code/controllers/CMSMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/controllers/CMSMain.php b/code/controllers/CMSMain.php index aa8702c4..b90a45cc 100644 --- a/code/controllers/CMSMain.php +++ b/code/controllers/CMSMain.php @@ -753,7 +753,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr // Don't allow navigating into children nodes on filtered lists $fields = array( 'getTreeTitle' => _t('SiteTree.PAGETITLE', 'Page Title'), - 'Created' => _t('SiteTree.CREATED', 'Date Created'), + 'singular_name' => _t('SiteTree.PAGETYPE'), 'LastEdited' => _t('SiteTree.LASTUPDATED', 'Last Updated'), ); $gridField->getConfig()->getComponentByType('GridFieldSortableHeader')->setFieldSorting(array('getTreeTitle' => 'Title'));