Skip to content

"Sort by: Name" doesn't sort endpoints by name #1753

Description

@ilaumjd

Selecting "Name" in the dashboard's Sort by dropdown doesn't change the endpoint order. Endpoints stay in whatever order the API returns them (sorted by internal key = group+name), so if endpoints span multiple groups, they end up looking grouped even with grouping disabled.

filteredEndpoints/filteredSuites in Home.vue only has sort logic for health, name is a no-op.

Fix: https://github.com/ilaumjd/gatus/compare/master...ilaumjd:gatus:fix/dashboard-sort-by-name?expand=1

Also adds a "Default" option to keep the old (unsorted) behavior available, since fixing "Name" makes that old behavior otherwise unreachable.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions