Skip to content

Commit e1b5040

Browse files
author
Umar
committed
MAGETWO-49985: product custom options export in reverse order fixed
1 parent fc97826 commit e1b5040

File tree

1 file changed

+1
-2
lines changed
  • app/code/Magento/CatalogImportExport/Model/Export

1 file changed

+1
-2
lines changed

app/code/Magento/CatalogImportExport/Model/Export/Product.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1315,8 +1315,7 @@ protected function getCustomOptionsData($productIds)
13151315
}
13161316
$options = $this->_optionColFactory->create();
13171317
/* @var \Magento\Catalog\Model\ResourceModel\Product\Option\Collection $options*/
1318-
$options->addOrder('sort_order');
1319-
$options->reset()->addOrder('sort_order')->addTitleToResult(
1318+
$options->reset()->addOrder('sort_order', 'ASC')->addTitleToResult(
13201319
$storeId
13211320
)->addPriceToResult(
13221321
$storeId

0 commit comments

Comments
 (0)