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:
parent
c195fab44c
commit
ea1641b2f9
@ -144,8 +144,8 @@ class AdminInstancesTable(tables.DataTable):
|
|||||||
verbose_name=_("IP Address"),
|
verbose_name=_("IP Address"),
|
||||||
attrs={'data-type': "ip"})
|
attrs={'data-type': "ip"})
|
||||||
size = tables.Column(project_tables.get_size,
|
size = tables.Column(project_tables.get_size,
|
||||||
verbose_name=_("Size"),
|
sortable=False,
|
||||||
attrs={'data-type': 'size'})
|
verbose_name=_("Size"))
|
||||||
status = tables.Column(
|
status = tables.Column(
|
||||||
"status",
|
"status",
|
||||||
filters=(title, filters.replace_underscores),
|
filters=(title, filters.replace_underscores),
|
||||||
|
Loading…
Reference in New Issue
Block a user