Skip to content

Commit b74061c

Browse files
committed
magento/magento2-page-builder#543: Content Product Attributes Default Sorting Order
- Fixing Unit Tests
1 parent 8b5cb3d commit b74061c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

app/code/Magento/Catalog/Setup/CategorySetup.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -421,9 +421,9 @@ public function getDefaultEntities()
421421
'comparable' => true,
422422
'visible_in_advanced_search' => true,
423423
],
424-
'short_description' => [
424+
'description' => [
425425
'type' => 'text',
426-
'label' => 'Short Description',
426+
'label' => 'Description',
427427
'input' => 'textarea',
428428
'sort_order' => 3,
429429
'global' => ScopedAttributeInterface::SCOPE_STORE,
@@ -432,14 +432,10 @@ public function getDefaultEntities()
432432
'wysiwyg_enabled' => true,
433433
'is_html_allowed_on_front' => true,
434434
'visible_in_advanced_search' => true,
435-
'used_in_product_listing' => true,
436-
'is_used_in_grid' => true,
437-
'is_visible_in_grid' => false,
438-
'is_filterable_in_grid' => false,
439435
],
440-
'description' => [
436+
'short_description' => [
441437
'type' => 'text',
442-
'label' => 'Description',
438+
'label' => 'Short Description',
443439
'input' => 'textarea',
444440
'sort_order' => 4,
445441
'global' => ScopedAttributeInterface::SCOPE_STORE,
@@ -448,6 +444,10 @@ public function getDefaultEntities()
448444
'wysiwyg_enabled' => true,
449445
'is_html_allowed_on_front' => true,
450446
'visible_in_advanced_search' => true,
447+
'used_in_product_listing' => true,
448+
'is_used_in_grid' => true,
449+
'is_visible_in_grid' => false,
450+
'is_filterable_in_grid' => false,
451451
],
452452
'price' => [
453453
'type' => 'decimal',

0 commit comments

Comments
 (0)