We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc5e76 commit c1a9fabCopy full SHA for c1a9fab
app/code/Magento/Swatches/view/frontend/web/js/swatch-renderer.js
@@ -312,7 +312,7 @@ define([
312
*/
313
_sortAttributes: function () {
314
this.options.jsonConfig.attributes = _.sortBy(this.options.jsonConfig.attributes, function (attribute) {
315
- return parseInt(attribute.position);
+ return parseInt(attribute.position, 10);
316
});
317
},
318
0 commit comments