Properly sort Heat stacks on Created field
replace the 'timesince_or_never' filter with 'timesince_sorted' one as the
creation_time attribute of a Heat stack can not actually be None.
Also add a 'timesince' data-type to this field.
Closes-Bug:
@@ -278,7 +278,8 @@ class StacksTable(tables.DataTable):
created = tables.Column("creation_time",
verbose_name=_("Created"),
filters=(filters.parse_isotime,
- filters.timesince_or_never))
+ filters.timesince_sortable),
+ attrs={'data-type': 'timesince'})
updated = tables.Column("updated_time",
verbose_name=_("Updated"),
filters=(filters.parse_isotime,
