From fb1e138b3efbd22eca59f2d8f836c1e61121c964 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Tue, 8 Jul 2025 04:59:33 -0500 Subject: Provide zero counts for all and filtered totals. --- gn_auth/auth/authorisation/resources/groups/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/gn_auth/auth/authorisation/resources/groups/views.py b/gn_auth/auth/authorisation/resources/groups/views.py index 1e95f09..28f64e2 100644 --- a/gn_auth/auth/authorisation/resources/groups/views.py +++ b/gn_auth/auth/authorisation/resources/groups/views.py @@ -54,7 +54,9 @@ def list_groups(): ).maybe( { "groups": [], - "message": "No groups found!" + "message": "No groups found!", + "total-groups": 0, + "total-filtered": 0 }, lambda _grpdata: _grpdata)) -- cgit v1.2.3