Commit c4666b8d6bb0f45a871e68bc31c817e8f0f33ea1
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 | 50 | foreach ($params['keywords'] as $keyword) { |
51 | 51 | $categoriesQuery->andWhere(['ilike', 'product.name', $keyword]); |
52 | 52 | } |
53 | - $categoriesQuery->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); | |
54 | 53 | $categories = $categoriesQuery->all(); |
55 | 54 | } |
56 | 55 | ... | ... |