From ea1641b2f9508339c723ba92db69668de21a58f1 Mon Sep 17 00:00:00 2001 From: Eddie Ramirez Date: Fri, 8 Jul 2016 18:39:02 +0000 Subject: [PATCH] Instance Size (flavor) column is sortable when it should not The column size is now sortable=False. Disables the sorting function for this column in Admin-Instances, just as the table in Project->Instances does. Change-Id: I25fb0e2e5afb39d226cffcea611db961196c8809 Closes-bug: #1600329 --- openstack_dashboard/dashboards/admin/instances/tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openstack_dashboard/dashboards/admin/instances/tables.py b/openstack_dashboard/dashboards/admin/instances/tables.py index 73465d9c74..00ffae1753 100644 --- a/openstack_dashboard/dashboards/admin/instances/tables.py +++ b/openstack_dashboard/dashboards/admin/instances/tables.py @@ -144,8 +144,8 @@ class AdminInstancesTable(tables.DataTable): verbose_name=_("IP Address"), attrs={'data-type': "ip"}) size = tables.Column(project_tables.get_size, - verbose_name=_("Size"), - attrs={'data-type': 'size'}) + sortable=False, + verbose_name=_("Size")) status = tables.Column( "status", filters=(title, filters.replace_underscores),