3108 - Важно - удаление лишних разделов из sitemao.xml

parent 9660df0a
...@@ -80,7 +80,7 @@ class SearchDocContent extends DocContent ...@@ -80,7 +80,7 @@ class SearchDocContent extends DocContent
'priority' => $this->priority, 'priority' => $this->priority,
]); ]);
$query->andFilterWhere(['like', 'doc_content_lang.url', $this->url]); $query->andFilterWhere(['like', 'url', $this->url]);
// $query->andFilterWhere(['likef', 'doc_content_lang.name', $this->name]); // $query->andFilterWhere(['likef', 'doc_content_lang.name', $this->name]);
return $dataProvider; return $dataProvider;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment