Skip to content
Browse files

BUGFIX RedirectorPage types shouldn't appear in "Pages with no conten…

…t" side report in the CMS Pages tab (from r101737)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@111644 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information...
1 parent 261b4b9 commit fc50b2df08b1063efe11729318c25a19fbcbd666 @sminnee sminnee committed Oct 4, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 code/SideReport.php
View
2 code/SideReport.php
@@ -138,7 +138,7 @@ function sort() {
return 100;
}
function sourceRecords($params = null) {
- return DataObject::get("SiteTree", "\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '<p></p>' OR \"Content\" LIKE '<p>&nbsp;</p>'", '"Title"');
+ return DataObject::get("SiteTree", "\"ClassName\" != 'RedirectorPage' AND (\"Content\" = '' OR \"Content\" IS NULL OR \"Content\" LIKE '<p></p>' OR \"Content\" LIKE '<p>&nbsp;</p>')", '"Title"');
}
function columns() {
return array(

0 comments on commit fc50b2d

Please sign in to comment.
Something went wrong with that request. Please try again.