From c4666b8d6bb0f45a871e68bc31c817e8f0f33ea1 Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Mon, 24 Oct 2016 12:11:18 +0300 Subject: [PATCH] big commti --- frontend/controllers/SearchController.php | 1 - 1 file changed, 0 insertions(+), 1 deletion(-) diff --git a/frontend/controllers/SearchController.php b/frontend/controllers/SearchController.php index 3a53ea9..cc52f38 100755 --- a/frontend/controllers/SearchController.php +++ b/frontend/controllers/SearchController.php @@ -50,7 +50,6 @@ class SearchController extends \yii\web\Controller foreach ($params['keywords'] as $keyword) { $categoriesQuery->andWhere(['ilike', 'product.name', $keyword]); } - $categoriesQuery->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); $categories = $categoriesQuery->all(); } -- libgit2 0.21.4