alerta / alerta

Alerta monitoring system
https://alerta.io
Apache License 2.0
2.36k stars 356 forks source link

Added sorting on duplicate_count (postgresql) on queries used in Reports UI #1967

Open nickidw opened 2 months ago

nickidw commented 2 months ago

Description Current sorting is on count only, so alerts with high duplicate_count might or might not be listed. This commit addresses that.

Changes Added , duplicate_count DESC to ORDER BY clause

Screenshots If it's a UI change add screenshots to demonstrate changes.

Checklist

Collaboration When a user creates a pull request from a fork that they own, the user generally has the authority to decide if other users can commit to the pull request's compare branch. If the pull request author wants greater collaboration, they can grant maintainers of the upstream repository (that is, anyone with push access to the upstream repository) permission to commit to the pull request's compare branch

See https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

vercel[bot] commented 2 months ago

@nickidw is attempting to deploy a commit to the Nick Satterly's projects Team on Vercel.

A member of the Team first needs to authorize it.