diff --git a/common/modules/product/models/Category.php b/common/modules/product/models/Category.php index 59211eb..a5c53a4 100755 --- a/common/modules/product/models/Category.php +++ b/common/modules/product/models/Category.php @@ -197,6 +197,7 @@ class Category extends \yii\db\ActiveRecord return true; } public function getActiveFilters() { + $query1 = (new Query()) ->distinct() ->select([ diff --git a/frontend/views/catalog/brand.php b/frontend/views/catalog/brand.php index 1a16ef0..d556d04 100755 --- a/frontend/views/catalog/brand.php +++ b/frontend/views/catalog/brand.php @@ -26,17 +26,7 @@ $this->params['breadcrumbs'][] = $brand->name;
diff --git a/frontend/views/catalog/products.php b/frontend/views/catalog/products.php index 840d05e..5f4455d 100755 --- a/frontend/views/catalog/products.php +++ b/frontend/views/catalog/products.php @@ -46,12 +46,6 @@ use yii\helpers\Url; -