From 08c923cc72c2e0a133e6824f3144e231e3976c66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Andr=C3=A9?= Date: Mon, 3 May 2021 09:39:50 +0200 Subject: [PATCH] Update the group by gear to add the main canopy --- Back/skydiveLogs-api.DomainBusiness/StatsService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Back/skydiveLogs-api.DomainBusiness/StatsService.cs b/Back/skydiveLogs-api.DomainBusiness/StatsService.cs index a40554b..a921bea 100644 --- a/Back/skydiveLogs-api.DomainBusiness/StatsService.cs +++ b/Back/skydiveLogs-api.DomainBusiness/StatsService.cs @@ -85,7 +85,7 @@ namespace skydiveLogs_api.DomainBusiness if (allJumps.Any()) { - results = allJumps.GroupBy(j => j.Gear.Name, + results = allJumps.GroupBy(j => $"{j.Gear.Name} / {j.Gear.MainCanopy}", j => j, (groupby, jumps) => new Statistic {