Update the group by gear to add the main canopy

This commit is contained in:
Sébastien André
2021-05-03 09:39:50 +02:00
parent f59d1828ca
commit 08c923cc72

View File

@@ -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
{