File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
app/code/Magento/CatalogImportExport/Model/Export Expand file tree Collapse file tree 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)
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 (
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 );
13281324
13291325 foreach ($ options as $ option ) {
13301326 $ row = [];
You can’t perform that action at this time.
0 commit comments