Commit 163914fd205b53073c76d68ebd450b6cd742c0aa

Authored by Karnovsky A
1 parent d48d8bc0

-

frontend/models/ProductFrontendSearch.php
... ... @@ -105,6 +105,7 @@ class ProductFrontendSearch extends Product {
105 105 $query->andWhere([ProductCategory::tableName() .'.category_id' => $category->category_id]);
106 106 }
107 107 $query->groupBy(TaxOption::tableName() .'.tax_option_id');
  108 + $query->orderBy(TaxOption::tableName() .'.sort', SORT_ASC);
108 109 $query->limit(null);
109 110 if (!empty($params['prices'])) {
110 111 if ($params['prices']['min'] > 0 || $params['prices']['max'] > 0) {
... ...
frontend/views/site/index.php
... ... @@ -5,10 +5,10 @@ use yii\web\View;
5 5 use frontend\widgets\BannerWidget;
6 6 use yii\helpers\Url;
7 7 use frontend\widgets\Seo;
8   -$this->params['seo']['seo_text'] = 'TEST SEO TEXT';
9   -$this->params['seo']['h1'] = 'TEST H1';
10   -$this->params['seo']['description'] = 'TEST DESCRIPTION';
11   -$this->params['seo']['fields']['name'] = 'TEST NAME FROM FIELD';
  8 +//$this->params['seo']['seo_text'] = 'TEST SEO TEXT';
  9 +//$this->params['seo']['h1'] = 'TEST H1';
  10 +//$this->params['seo']['description'] = 'TEST DESCRIPTION';
  11 +//$this->params['seo']['fields']['name'] = 'TEST NAME FROM FIELD';
12 12 $this->registerJsFile (
13 13 Yii::$app->request->baseUrl . '/js/slides.min.jquery.js',
14 14 ['position' => View::POS_HEAD, 'depends' => ['yii\web\JqueryAsset']]);
... ...