diff --git a/console/controllers/SiteMapController.php b/console/controllers/SiteMapController.php index c39de22..affee77 100644 --- a/console/controllers/SiteMapController.php +++ b/console/controllers/SiteMapController.php @@ -46,7 +46,7 @@ class SiteMapController extends Controller public function getCategories() { - return Category::find()->andWhere(['not like', 'meta_robots', 'noindex'])->all(); + return Category::find()->andWhere(['not like', 'meta_robots', ''])->all(); } @@ -70,7 +70,7 @@ class SiteMapController extends Controller public function getSeoLinks() { - return Seo::find()->where(['not like', 'meta_robots', 'noindex'])->all(); + return Seo::find()->where(['not like', 'meta', ''])->all(); } -- libgit2 0.21.4