From 466a8d6a0eac11bb74d01fc6047331d664b1e648 Mon Sep 17 00:00:00 2001 From: Valentin Deniaud Date: Mon, 10 Oct 2022 10:17:20 +0200 Subject: [PATCH] statistics: allow group by without time interval for cards (#70016) --- wcs/statistics/views.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcs/statistics/views.py b/wcs/statistics/views.py index 0f48b582d..c018d8a63 100644 --- a/wcs/statistics/views.py +++ b/wcs/statistics/views.py @@ -127,6 +127,10 @@ class IndexView(RestrictedView): 'id': 'hour', 'label': _('Hour'), }, + { + 'id': 'none', + 'label': _('None'), + }, ], 'required': True, 'default': 'month', -- 2.35.1