From 446ae306ea8375a7b580a1711f39cff3eea36eaa Mon Sep 17 00:00:00 2001 From: Vitaliy Date: Fri, 21 Oct 2016 12:23:00 +0300 Subject: [PATCH] big commti --- frontend/models/ProductFrontendSearch.php | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/frontend/models/ProductFrontendSearch.php b/frontend/models/ProductFrontendSearch.php index ece7ca5..0408157 100755 --- a/frontend/models/ProductFrontendSearch.php +++ b/frontend/models/ProductFrontendSearch.php @@ -98,6 +98,7 @@ class ProductFrontendSearch extends Product { ProductHelper::_setQueryParams($query, $params); $query->andWhere(['!=', ProductVariant::tableName() .'.stock', 0]); + $query->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); return $query; } -- libgit2 0.21.4