File tree 1 file changed +6
-10
lines changed
app/code/Magento/CatalogImportExport/Model/Export
1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -1315,16 +1315,12 @@ protected function getCustomOptionsData($productIds)
1315
1315
}
1316
1316
$ options = $ this ->_optionColFactory ->create ();
1317
1317
/* @var \Magento\Catalog\Model\ResourceModel\Product\Option\Collection $options*/
1318
- $ options ->addOrder ('sort_order ' );
1319
- $ options ->reset ()->addOrder ('sort_order ' )->addTitleToResult (
1320
- $ storeId
1321
- )->addPriceToResult (
1322
- $ storeId
1323
- )->addProductToFilter (
1324
- $ productIds
1325
- )->addValuesToResult (
1326
- $ storeId
1327
- );
1318
+ $ options ->reset ();
1319
+ $ options ->addOrder ('sort_order ' , 'ASC ' );
1320
+ $ options ->addTitleToResult ($ storeId );
1321
+ $ options ->addPriceToResult ($ storeId );
1322
+ $ options ->addProductToFilter ($ productIds );
1323
+ $ options ->addValuesToResult ($ storeId );
1328
1324
1329
1325
foreach ($ options as $ option ) {
1330
1326
$ row = [];
You can’t perform that action at this time.
0 commit comments