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

parent 64937055
......@@ -126,7 +126,6 @@ class Post extends \common\components\ActiveRecordModel
/** @var \yii\db\ActiveQuery $model */
$model->select(['url', 'updated_at']);
$model->andWhere(['active' => 1]);
$model->andWhere(['>', 'priority', 0]);
},
'dataClosure' => function ($model) {
return [
......
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