Enable sorting for the timestamp column

Change-Id: Iac00526ef5d745a9143f3a674221eda8c2b09491
Closes-Bug: #1288198
This commit is contained in:
Ana Krivokapic 2014-03-13 12:31:47 +01:00 committed by Gerrit Code Review
parent a8d1dde57f
commit fbd81515da
1 changed files with 2 additions and 1 deletions

View File

@ -49,7 +49,8 @@ class ConfigurationTable(tables.DataTable):
class LogTable(tables.DataTable):
timestamp = tables.Column('event_time',
verbose_name=_("Timestamp"))
verbose_name=_("Timestamp"),
attrs={'data-type': 'timestamp'})
resource_name = tables.Column('resource_name',
verbose_name=_("Resource Name"))
resource_status = tables.Column('resource_status',