Merged revisions 52395 via svnmerge from

http://svn.silverstripe.com/open/modules/cms/branches/2.2.2

........
  r52395 | sminnee | 2008-04-09 18:07:57 +1200 (Wed, 09 Apr 2008) | 1 line
  
  #2388 - Fixed CMS search.
........


git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@53501 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sam Minnee 2008-04-26 06:40:00 +00:00
parent 3148064a9d
commit b76083ee64

View File

@ -31,6 +31,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
'dialog', 'dialog',
'duplicate', 'duplicate',
'duplicatewithchildren', 'duplicatewithchildren',
'filtersitetree',
'getpagecount', 'getpagecount',
'getpagemembers', 'getpagemembers',
'getversion', 'getversion',
@ -141,7 +142,7 @@ class CMSMain extends LeftAndMain implements CurrentPageIdentifier, PermissionPr
/** /**
* Returns a filtered Site Tree * Returns a filtered Site Tree
*/ */
public function filterSiteTree() { public function filtersitetree() {
$className = 'SiteTree'; $className = 'SiteTree';
$rootID = null; $rootID = null;
$obj = $rootID ? $this->getRecord($rootID) : singleton($className); $obj = $rootID ? $this->getRecord($rootID) : singleton($className);