From 4469b0028a6cfb9941163d7862aa23d63cacacc9 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Fri, 26 Mar 2010 02:33:59 +0000 Subject: [PATCH] BUGFIX RedirectorPage types shouldn't appear in "Pages with no content" side report in the CMS Pages tab git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/branches/2.4@101737 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- code/SideReport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/SideReport.php b/code/SideReport.php index 5dc8ae3a41..ef0737bbed 100755 --- a/code/SideReport.php +++ b/code/SideReport.php @@ -134,7 +134,7 @@ function sort() { return 100; } function sourceRecords($params = null) { - return DataObject::get("SiteTree", "\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '

' OR \"Content\" LIKE '

 

'", '"Title"'); + return DataObject::get("SiteTree", "\"ClassName\" != 'RedirectorPage' AND (\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '

' OR \"Content\" LIKE '

 

')", '"Title"'); } function columns() { return array(