Skip to content

Sort problem in port versions table and chart #383

Open
@Dave-Allured

Description

@Dave-Allured

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 %

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions