diff --git a/CHANGES.md b/CHANGES.md index 43e3ecdf..d53ed779 100755 --- a/CHANGES.md +++ b/CHANGES.md @@ -3,7 +3,8 @@ < ## Version 11.5.04 ### Corrections : -- Bug de sélection d'un module absent. +- Edition d'une page : bug de sélection d'un module absent. +- Rechercher dans le site : impossiblilité de rechercher dans le contenu des moduless (news, blog et download). ## Version 11.5.03 ### Correction : diff --git a/module/search/search.php b/module/search/search.php index 0c46699f..45ae858d 100644 --- a/module/search/search.php +++ b/module/search/search.php @@ -254,7 +254,7 @@ class search extends common { } // Articles d'une sous-page blog ou de news - if ( $this->getData([ 'module', $childId, 'posts', 'content']) + if ( $this->getData([ 'module', $childId, 'posts']) ) { foreach($this->getData(['module',$childId,'posts']) as $articleId => $article) { if($this->getData(['module',$childId,'posts',$articleId,'state']) === true) { @@ -272,8 +272,8 @@ class search extends common { } // Articles d'un blog ou de news - if ( $this->getData([ 'module', $parentId, 'posts', 'content']) - ) { + if ( $this->getData([ 'module', $parentId, 'posts']) + ) { foreach($this->getData(['module',$parentId,'posts']) as $articleId => $article) { if($this->getData(['module',$parentId,'posts',$articleId,'state']) === true) @@ -289,7 +289,6 @@ class search extends common { } } } - // Message de synthèse de la recherche if (count($result) === 0) { self::$resultTitle = 'Aucun résultat';