Skip to content

Commit

Permalink
#222249 configurable product images wrong sorting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Wirson committed Apr 15, 2019
1 parent aa0a21c commit f4ab0e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -728,7 +728,7 @@ define([
*/
_sortImages: function (images) {
return _.sortBy(images, function (image) {
return image.position;
return parseInt(image.position, 10);
});
},

Expand Down

0 comments on commit f4ab0e6

Please sign in to comment.