diff --git a/bl-plugins/search/plugin.php b/bl-plugins/search/plugin.php index aecd7ddf..a183c1ee 100644 --- a/bl-plugins/search/plugin.php +++ b/bl-plugins/search/plugin.php @@ -179,7 +179,7 @@ EOF; { // Get all pages published global $pages; - $list = $pages->getList($pageNumber = 1, $numberOfItems = -1, $onlyPublished = true); + $list = $pages->getList($pageNumber=1, $numberOfItems=-1, $published=true, $static=true, $sticky=true, $draft=false, $scheduled=false); $cache = array(); foreach ($list as $pageKey) {