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

Sort problem in port versions table and chart #383

Open
Dave-Allured opened this issue Jan 5, 2025 · 0 comments
Open

Sort problem in port versions table and chart #383

Dave-Allured opened this issue Jan 5, 2025 · 0 comments

Comments

@Dave-Allured
Copy link
Contributor

On the port statistics page, there is a minor sortation bug in the listed port versions. It looks like this affects both the versions chart, and the versions table. In this example, the 1.14.5 version should follow the 1.14.4 versions. It looks like underscore is joined incorrectly with adjacent integer in the sort function, causing the misordering.

https://ports.macports.org/port/hdf5/stats/

1.14.3_0	1.6 %
1.14.3_2	1.6 %
1.14.3_4	3.2 %
1.14.5_0	76.2 %
1.14.4.2_0	1.6 %
1.14.4.3_0	6.3 %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant