From db3f87161ddbe89132778d8be9a1eec3514710a4 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 12 Dec 2016 18:06:46 +0200 Subject: [PATCH] add variantSku --- console/SiteMapController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/console/SiteMapController.php b/console/SiteMapController.php index 8bb1eed..63ecc5e 100755 --- a/console/SiteMapController.php +++ b/console/SiteMapController.php @@ -43,7 +43,7 @@ public function getSeoLinks() { return Seo::find() - ->where([ 'meta' => '' ]) + ->where(['!=', 'meta', 'noindex,nofollow' ]) ->all(); } @@ -68,7 +68,7 @@ ->with('lang') ->joinWith('taxGroups.lang') ->with('taxGroups.taxOptions.lang') - ->where([ 'tax_group.meta_robots' => '', ]) + ->where(['!=', 'tax_group.meta_robots', 'noindex,nofollow' ]) ->all(); } -- libgit2 0.21.4