search plugin support static and sticky pages #952

This commit is contained in:
Diego Najar 2019-02-28 19:43:42 +01:00
parent 3343d61984
commit bdf585b8db
1 changed files with 1 additions and 1 deletions

View File

@ -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) {