jenkinsci / dashboard-view-plugin

Jenkins dashboard-view plugin
https://plugins.jenkins.io/dashboard-view/
MIT License
46 stars 105 forks source link

[JENKINS-28427] Dashboard View Test Statistics Grid panel doesn't sort properly when sorting by percentage #217

Open TobiX opened 9 years ago

TobiX commented 9 years ago

I noticed that when there is incorrect sorting on the Test Statistics Grid panel when trying to sort by a Success, Failed or Success %.

For example, if there are 5 jobs that have a success rate of 50%, 70%, 85%, 90% and 100%... The 100% job will be at the bottom when sorting in Descending order, because the first character (1) is lower than 5, 7, 8 or 9.


Originally reported by flameofzion, imported from: Dashboard View Test Statistics Grid panel doesn't sort properly when sorting by percentage
  • assignee: petehayes
  • status: Open
  • priority: Minor
  • resolution: Unresolved
  • imported: 2022-10-30
TobiX commented 8 years ago

cburroughs:

I'm having trouble reproducing this with a recent build. I see 100% --> 99% --> 0%