From d2e18d288db693d680d53341804e194c631c0307 Mon Sep 17 00:00:00 2001 From: kaz_shinohara Date: Thu, 7 Dec 2017 09:53:15 +0900 Subject: [PATCH] Added leftover change in horizon As requested from horizon team, added leftover change to heat-dashboard. https://review.openstack.org/#/c/498838/ Above change is not included yet in heat-dashboard side because this change added after heat-dashboard was born. Change-Id: Ie8286bbbbdc6e9f6d7fe09dc4c4a24724f188eac --- heat_dashboard/content/stacks/tables.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/heat_dashboard/content/stacks/tables.py b/heat_dashboard/content/stacks/tables.py index 708dc4b9..e189a549 100644 --- a/heat_dashboard/content/stacks/tables.py +++ b/heat_dashboard/content/stacks/tables.py @@ -267,7 +267,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,