Commit b523105fa2357a739c73c6f01ea2058bb9c96577
1 parent
225a7241
Fix optimization category AR
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/modules/rubrication/views/tax-group/_form.php
@@ -26,7 +26,7 @@ use common\components\artboxtree\ArtboxTreeHelper; | @@ -26,7 +26,7 @@ use common\components\artboxtree\ArtboxTreeHelper; | ||
26 | ]) ?> | 26 | ]) ?> |
27 | 27 | ||
28 | <?= $form->field($model, 'group_to_category')->dropDownList( | 28 | <?= $form->field($model, 'group_to_category')->dropDownList( |
29 | - ArtboxTreeHelper::treeMap(ProductHelper::getCategories(), 'category_id', 'name'), | 29 | + ArtboxTreeHelper::treeMap(ProductHelper::getCategories(), 'category_id', 'categoryName.value'), |
30 | [ | 30 | [ |
31 | 'multiple' => true | 31 | 'multiple' => true |
32 | ] | 32 | ] |