Commit c4666b8d6bb0f45a871e68bc31c817e8f0f33ea1

Authored by Administrator
1 parent 435ff691

big commti

Showing 1 changed file with 0 additions and 1 deletions   Show diff stats
frontend/controllers/SearchController.php
@@ -50,7 +50,6 @@ class SearchController extends \yii\web\Controller @@ -50,7 +50,6 @@ class SearchController extends \yii\web\Controller
50 foreach ($params['keywords'] as $keyword) { 50 foreach ($params['keywords'] as $keyword) {
51 $categoriesQuery->andWhere(['ilike', 'product.name', $keyword]); 51 $categoriesQuery->andWhere(['ilike', 'product.name', $keyword]);
52 } 52 }
53 - $categoriesQuery->andWhere(['!=', ProductVariant::tableName() .'.status', 1]);  
54 $categories = $categoriesQuery->all(); 53 $categories = $categoriesQuery->all();
55 } 54 }
56 55