django-DefectDojo
django-DefectDojo copied to clipboard
'Active (Verified)' column sorts lexicographically instead of numerically in Engagements view
Description
When sorting by the Active (Verified) column in the various engagements lists, the items are sorted lexicographically (a.k.a alphabetically) instead of numerically.
Here's an example taken from a 'Closed Engagements' list on the v 2.12.0 public demo environment
source
Steps to reproduce
Steps to reproduce the behavior:
- Go to the
/product/<product-id>/engagementspage. - Click on the Active (Verified) column on one of the engagement lists.
- See that the items are sorted lexicographically instead of numerically.
Expected behavior
Since the values in the Active (Verified) column are numeric, they should be sorted numerically, not lexicographically.
Environment information
Observed in v 2.10.0 and v 2.12.0.