From 1dc3762ef7b19ed728a7cb1f2f867686da9c9998 Mon Sep 17 00:00:00 2001 From: RonniSkansing Date: Fri, 11 Sep 2026 22:40:53 +0200 Subject: [PATCH] rename group stats to position / department stats Signed-off-by: RonniSkansing --- backend/service/campaign.go | 2 +- frontend/src/routes/campaign/[id]/+page.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/service/campaign.go b/backend/service/campaign.go index d78e8f2a..3703e46c 100644 --- a/backend/service/campaign.go +++ b/backend/service/campaign.go @@ -1362,7 +1362,7 @@ func (c *Campaign) GetResultStats( const anonymityGroupFloor = 3 // OTHER_GROUP_LABEL is the bucket name for merged small groups. -const OTHER_GROUP_LABEL = "Other (small groups)" +const OTHER_GROUP_LABEL = "Other (small)" // GetGroupedResultStats returns outcome counts grouped by a recipient attribute, // suppressing any group smaller than the anonymity floor. Only anonymous campaigns diff --git a/frontend/src/routes/campaign/[id]/+page.svelte b/frontend/src/routes/campaign/[id]/+page.svelte index fcb98253..23aaf7ee 100644 --- a/frontend/src/routes/campaign/[id]/+page.svelte +++ b/frontend/src/routes/campaign/[id]/+page.svelte @@ -2032,7 +2032,7 @@ {#if hasGroupData}
- Results by group + Results by position or department