search plugin support static and sticky pages #952
This commit is contained in:
parent
3343d61984
commit
bdf585b8db
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user