Skip to content

Commit

Permalink
MAGETWO-49985: product custom options export in reverse order fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
Umar committed Jan 8, 2018
1 parent fc97826 commit e1b5040
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1315,8 +1315,7 @@ protected function getCustomOptionsData($productIds)
}
$options = $this->_optionColFactory->create();
/* @var \Magento\Catalog\Model\ResourceModel\Product\Option\Collection $options*/
$options->addOrder('sort_order');
$options->reset()->addOrder('sort_order')->addTitleToResult(
$options->reset()->addOrder('sort_order', 'ASC')->addTitleToResult(
$storeId
)->addPriceToResult(
$storeId
Expand Down

0 comments on commit e1b5040

Please sign in to comment.