Nodes listing does not support sorting
Bug #994887 reported by
LaMont Jones
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
High
|
Dimiter Naydenov | ||
1.2 |
Fix Released
|
Critical
|
Julian Edwards | ||
maas (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When viewing /MAAS/nodes, it is sometimes useful to sort by hostname (which may have actually been assigned to something other than the nodename based on MAC address, as it was in our case). Today that can only be done by cut-n-paste piped into sort, which is suboptimal.
Related branches
lp:~dimitern/maas/bug-994887-nodes-listing-does-not-support-sorting
Rejected
for merging
into
lp:~maas-committers/maas/trunk
- Huw Wilkins (community): Approve (ui)
- Martin Packman (community): Abstain
-
Diff: 783 lines (+623/-10)10 files modifiedsrc/maasserver/static/css/components/table_list.css (+11/-0)
src/maasserver/templates/maasserver/node_list.html (+1/-1)
src/maasserver/templates/maasserver/nodes_listing.html (+9/-2)
src/maasserver/templates/maasserver/tag_view.html (+1/-1)
src/maasserver/templatetags/sortable.py (+168/-0)
src/maasserver/templatetags/tests/test_sortable.py (+130/-0)
src/maasserver/tests/test_views_nodes.py (+111/-6)
src/maasserver/utils/sortable/__init__.py (+25/-0)
src/maasserver/utils/sortable/sortable.py (+161/-0)
src/maasserver/views/nodes.py (+6/-0)
lp:~dimitern/maas/bug-994887-alternate-nodes-list-sorting
- Martin Packman (community): Approve
- John A Meinel (community): Approve
-
Diff: 309 lines (+178/-9)6 files modifiedsrc/maasserver/static/css/components/table_list.css (+11/-0)
src/maasserver/templates/maasserver/node_list.html (+1/-1)
src/maasserver/templates/maasserver/nodes_listing.html (+7/-0)
src/maasserver/templates/maasserver/tag_view.html (+1/-1)
src/maasserver/tests/test_views_nodes.py (+115/-5)
src/maasserver/views/nodes.py (+43/-2)
lp:~julian-edwards/maas/backport-r1294-1299
- Julian Edwards (community): Approve
-
Diff: 328 lines (+189/-9)6 files modifiedsrc/maasserver/static/css/components/table_list.css (+13/-0)
src/maasserver/templates/maasserver/node_list.html (+1/-1)
src/maasserver/templates/maasserver/nodes_listing.html (+16/-0)
src/maasserver/templates/maasserver/tag_view.html (+1/-1)
src/maasserver/tests/test_views_nodes.py (+115/-5)
src/maasserver/views/nodes.py (+43/-2)
summary: |
- /MAAS/nodes page needs sorting abilities + Nodes listing does not support sorting |
Changed in maas (Ubuntu): | |
status: | New → Invalid |
Changed in maas: | |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: ui |
Changed in maas: | |
assignee: | nobody → Dimiter Naydenov (dimitern) |
status: | Triaged → In Progress |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Changed in maas (Ubuntu): | |
importance: | Undecided → Medium |
Changed in maas (Ubuntu): | |
status: | New → Fix Released |
To post a comment you must log in.
There's a UI issue with the committed change that I did not pick up until I used it in that the "MAC" column header is used to sort the hostname. This doesn't really make sense.
To be able to sort by hostname we need to find a more sensible approach.