Commit 8940d2f78d516a0f0f63b2f79a4275dad5438eb0

Authored by Yarik
1 parent af036678

Language readme fix

common/modules/language/readme.txt
... ... @@ -45,9 +45,6 @@ public function behaviors() {
45 45 'ownerKey' => {Table}->id //optional, default to {Table}->primaryKey()[0]
46 46 'langKey' => {TableLang}->table_id //optional, default to {Table}->tableName().'_id'
47 47 ],
48   - 'transaction' => [
49   - 'class' => TransactionBehavior::className(),
50   - ],
51 48 ];
52 49 }
53 50 3.1. PHPDoc для {Table}:
... ...
common/modules/product/models/ProductSearch.php
... ... @@ -92,7 +92,7 @@
92 92 },
93 93 ]);
94 94  
95   - $query->groupBy([ 'product.product_id' ]);
  95 + $query->groupBy([ 'product.product_id', 'brand_lang.name' ]);
96 96  
97 97 $dataProvider = new ActiveDataProvider([
98 98 'query' => $query,
... ...