diff --git a/MP.Stats/Data/MpStatsService.cs b/MP.Stats/Data/MpStatsService.cs
index 76f812be..f1e85089 100644
--- a/MP.Stats/Data/MpStatsService.cs
+++ b/MP.Stats/Data/MpStatsService.cs
@@ -172,7 +172,7 @@ namespace MP.Stats.Data
answ.Add(new AutocompleteModel { LabelField = "--- TUTTE ---", ValueField = "*" });
if (numRecord > -1)
{
- answ.AddRange(dbController.CommesseGetSearch(numRecord, searchVal).Select(x => new AutocompleteModel { LabelField = $"{x.CodArticolo} | {x.KeyRichiesta}", ValueField = x.KeyRichiesta }).ToList());
+ answ.AddRange(dbController.CommesseGetSearch(numRecord, searchVal).GroupBy(x => x.KeyRichiesta).Select(x => new AutocompleteModel { LabelField = $"{x.First().CodArticolo} | {x.First().KeyRichiesta}", ValueField = x.First().KeyRichiesta }).ToList());
}
return Task.FromResult(answ);
}
diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj
index 0794ba71..6d2bdb39 100644
--- a/MP.Stats/MP.Stats.csproj
+++ b/MP.Stats/MP.Stats.csproj
@@ -4,7 +4,7 @@
net5.0
MP.Stats
826e877c-ba70-4253-84cb-d0b1cafd4440
- 1.0.2106.2409
+ 1.0.2106.2410
diff --git a/Resources/ChangeLog.html b/Resources/ChangeLog.html
index e9cdb0b4..c3cee384 100644
--- a/Resources/ChangeLog.html
+++ b/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo statistiche MAPO
- Versione: 1.0.2106.2409
+ Versione: 1.0.2106.2410
Note di rilascio:
diff --git a/Resources/VersNum.txt b/Resources/VersNum.txt
index f3179130..e62327ae 100644
--- a/Resources/VersNum.txt
+++ b/Resources/VersNum.txt
@@ -1 +1 @@
-1.0.2106.2409
+1.0.2106.2410
diff --git a/Resources/manifest.xml b/Resources/manifest.xml
index 10cf7b5e..337e2e63 100644
--- a/Resources/manifest.xml
+++ b/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 1.0.2106.2409
+ 1.0.2106.2410
http://nexus.steamware.net/repository/SWS/MP-STATS/stable/0/MP.Stats.zip
http://nexus.steamware.net/repository/SWS/MP-STATS/stable/0/ChangeLog.html
false