From eabbaaeb490f048763b960cfaf450f39fd861b54 Mon Sep 17 00:00:00 2001 From: Matthias Runge Date: Tue, 24 Mar 2015 13:07:28 +0100 Subject: [PATCH] Change preset for resource usage to 'last day' instead of looking at measurements from the past week *by default*. Change-Id: Id12f56e15af0019aff5aaf24b748608fe3a4cc3e Closes-bug: 1435814 --- openstack_dashboard/dashboards/admin/metering/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openstack_dashboard/dashboards/admin/metering/tabs.py b/openstack_dashboard/dashboards/admin/metering/tabs.py index f921779516..aa42c23ecf 100644 --- a/openstack_dashboard/dashboards/admin/metering/tabs.py +++ b/openstack_dashboard/dashboards/admin/metering/tabs.py @@ -70,7 +70,7 @@ class UsageReportTab(tabs.TableTab): } report_rows = [] - date_options = self.request.session.get('period', 7) + date_options = self.request.session.get('period', 1) date_from = self.request.session.get('date_from', '') date_to = self.request.session.get('date_to', '')