Commit 8940d2f78d516a0f0f63b2f79a4275dad5438eb0
1 parent
af036678
Language readme fix
Showing
2 changed files
with
1 additions
and
4 deletions
Show diff stats
common/modules/language/readme.txt
@@ -45,9 +45,6 @@ public function behaviors() { | @@ -45,9 +45,6 @@ public function behaviors() { | ||
45 | 'ownerKey' => {Table}->id //optional, default to {Table}->primaryKey()[0] | 45 | 'ownerKey' => {Table}->id //optional, default to {Table}->primaryKey()[0] |
46 | 'langKey' => {TableLang}->table_id //optional, default to {Table}->tableName().'_id' | 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 | 3.1. PHPDoc для {Table}: | 50 | 3.1. PHPDoc для {Table}: |
common/modules/product/models/ProductSearch.php
@@ -92,7 +92,7 @@ | @@ -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 | $dataProvider = new ActiveDataProvider([ | 97 | $dataProvider = new ActiveDataProvider([ |
98 | 'query' => $query, | 98 | 'query' => $query, |