Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix product attribute ordering when more than 10 attributes. #14083

Merged
merged 2 commits into from
Mar 16, 2018

Conversation

RandeKnight
Copy link
Contributor

When a product has more than 10 attributes, when viewing the product page, the order of the attributes becomes incorrect due to sorting alphabetically rather than numerically. (ie. 0,1,10,11,12,13,2,3,4,5,6,7,8,9)

Magento version 2.x

Trivial bugfix to force the javascript to interpret the position as a number.

@magento-cicd2
Copy link
Contributor

magento-cicd2 commented Mar 13, 2018

CLA assistant check
All committers have signed the CLA.

@magento-engcom-team
Copy link
Contributor

@RandeKnight thank you for contributing. Please accept Community Contributors team invitation here to gain extended permissions for this repository.

@sidolov
Copy link
Contributor

sidolov commented Mar 14, 2018

Added radix parameter for parseInt function call.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants