Sorting by ram shows 3-digit machines at bottom of list
Bug #1482778 reported by
Dave Chiluk
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Karl Williams |
Bug Description
From the Nodes tab in the maas web ui, sort by ram.
The list starts with the highest 2-digit number and proceeds down to single digit numbers, but 3-digit ram machines are at the bottom of the list.
When sorting by ram machines are sorted with the following order.
RAM(GiB)
96
72
64
48
2
128
Related branches
~caleb-ellis/maas:sort-fix
Merged
into
maas:master
- Andres Rodriguez (community): Approve
- Anthony Dillon: Approve
-
Diff: 77 lines (+9/-12)4 files modifiedsrc/maasserver/models/node.py (+1/-3)
src/maasserver/models/tests/test_node.py (+2/-2)
src/maasserver/websockets/handlers/node.py (+4/-5)
src/maasserver/websockets/handlers/tests/test_machine.py (+2/-2)
description: | updated |
tags: | added: ui |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: internal |
Changed in maas: | |
assignee: | nobody → Karl Williams (deadlight) |
Changed in maas: | |
milestone: | none → next |
status: | Triaged → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas: | |
milestone: | next → none |
To post a comment you must log in.
After looking at this again, it's pretty obvious they are being sorted alphabetically rather than numerically.