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
This commit is contained in:
Eddie Ramirez 2016-07-08 18:39:02 +00:00 committed by Brad Pokorny
parent c195fab44c
commit ea1641b2f9
1 changed files with 2 additions and 2 deletions

View File

@ -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),