From bdf585b8dbb90e02b8189d32ce0bc6fff794b18d Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Thu, 28 Feb 2019 19:43:42 +0100 Subject: [PATCH] search plugin support static and sticky pages #952 --- bl-plugins/search/plugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {