Browse files

More useful default cols on "Pages" list (fixes #8199)

  • Loading branch information...
1 parent 61f2ab7 commit 317977a227398466256ba759304dbcb4820aec9c @chillu chillu committed Jan 22, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/controllers/CMSMain.php
View
2 code/controllers/CMSMain.php
@@ -753,7 +753,7 @@ public function ListViewForm() {
// 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'));

0 comments on commit 317977a

Please sign in to comment.