diff --git a/frontend/models/ProductFrontendSearch.php b/frontend/models/ProductFrontendSearch.php index 4e47dd1..82b53af 100755 --- a/frontend/models/ProductFrontendSearch.php +++ b/frontend/models/ProductFrontendSearch.php @@ -104,7 +104,7 @@ class ProductFrontendSearch extends Product { $query->groupBy(['product.product_id', 'product_variant.price']); - FilterHelper::setNewQueryParams($query, $params); + ProductHelper::_setQueryParams($query, $params); if($in_stock){ $query->andWhere(['!=', ProductVariant::tableName() .'.status', 1]); } diff --git a/frontend/views/search/index.php b/frontend/views/search/index.php index d20f8f7..5091e25 100755 --- a/frontend/views/search/index.php +++ b/frontend/views/search/index.php @@ -15,22 +15,6 @@ $this->params['seo']['h1'] = 'Поиск'; $this->params['breadcrumbs'][] = 'Поиск'; ?> -