macports-webapp
macports-webapp copied to clipboard
Sort problem in port versions table and chart
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 %