Merge branch '10400' into 11000
This commit is contained in:
commit
4b53936fa8
@ -21,7 +21,7 @@
|
|||||||
## Version 10.3.11
|
## Version 10.3.11
|
||||||
Modification :
|
Modification :
|
||||||
- Message sur l'utilisation des cookies
|
- Message sur l'utilisation des cookies
|
||||||
Coorection :
|
Correction :
|
||||||
- Recherche inopérante dans les articles des blogs.
|
- Recherche inopérante dans les articles des blogs.
|
||||||
|
|
||||||
## Version 10.3.10
|
## Version 10.3.10
|
||||||
|
@ -178,8 +178,8 @@ class search extends common {
|
|||||||
// Articles d'une sous-page blog
|
// Articles d'une sous-page blog
|
||||||
if ($this->getData(['page', $childId, 'moduleId']) === 'blog')
|
if ($this->getData(['page', $childId, 'moduleId']) === 'blog')
|
||||||
{
|
{
|
||||||
foreach($this->getData(['module',$childId]) as $articleId => $article) {
|
foreach($this->getData(['module',$childId,'posts']) as $articleId => $article) {
|
||||||
if($this->getData(['module',$childId,$articleId,'state']) === true) {
|
if($this->getData(['module',$childId,'posts',$articleId,'state']) === true) {
|
||||||
$url = $childId . '/' . $articleId;
|
$url = $childId . '/' . $articleId;
|
||||||
$titre = $article['title'];
|
$titre = $article['title'];
|
||||||
$contenu = ' ' . $titre . ' ' . $article['content'];
|
$contenu = ' ' . $titre . ' ' . $article['content'];
|
||||||
@ -195,8 +195,8 @@ class search extends common {
|
|||||||
|
|
||||||
// Articles d'un blog
|
// Articles d'un blog
|
||||||
if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' ) {
|
if ($this->getData(['page', $parentId, 'moduleId']) === 'blog' ) {
|
||||||
foreach($this->getData(['module',$parentId]) as $articleId => $article) {
|
foreach($this->getData(['module',$parentId,'posts']) as $articleId => $article) {
|
||||||
if($this->getData(['module',$parentId,$articleId,'state']) === true)
|
if($this->getData(['module',$parentId,'posts',$articleId,'state']) === true)
|
||||||
{
|
{
|
||||||
$url = $parentId. '/' . $articleId;
|
$url = $parentId. '/' . $articleId;
|
||||||
$titre = $article['title'];
|
$titre = $article['title'];
|
||||||
|
Loading…
Reference in New Issue
Block a user