diff --git a/LiMan.Api/Resources/ChangeLog.html b/LiMan.Api/Resources/ChangeLog.html
index 0c3991b..8073cd4 100644
--- a/LiMan.Api/Resources/ChangeLog.html
+++ b/LiMan.Api/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
License Manager
- Versione: 2.1.2501.1316
+ Versione: 2.1.2501.1317
Note di rilascio:
-
diff --git a/LiMan.Api/Resources/VersNum.txt b/LiMan.Api/Resources/VersNum.txt
index 87a5982..516e2db 100644
--- a/LiMan.Api/Resources/VersNum.txt
+++ b/LiMan.Api/Resources/VersNum.txt
@@ -1 +1 @@
-2.1.2501.1316
+2.1.2501.1317
diff --git a/LiMan.Api/Resources/manifest.xml b/LiMan.Api/Resources/manifest.xml
index 35ddafc..1fe53b2 100644
--- a/LiMan.Api/Resources/manifest.xml
+++ b/LiMan.Api/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 2.1.2501.1316
+ 2.1.2501.1317
https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.UI.zip
https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html
false
diff --git a/LiMan.DB/Controllers/DbController.cs b/LiMan.DB/Controllers/DbController.cs
index cef5ba0..4c25d44 100644
--- a/LiMan.DB/Controllers/DbController.cs
+++ b/LiMan.DB/Controllers/DbController.cs
@@ -1433,7 +1433,6 @@ namespace LiMan.DB.Controllers
}
// se trovo aggiorno...
currRec.DtCheck = upRec.DtCheck;
- //currRec.IdxSubLic = upRec.IdxSubLic;
currRec.MastKey = upRec.MastKey;
currRec.NumImp = upRec.NumImp;
currRec.VersNum = upRec.VersNum;
diff --git a/LiMan.UI/Components/InstAppPareto.razor.cs b/LiMan.UI/Components/InstAppPareto.razor.cs
index 1b6d105..4db00b6 100644
--- a/LiMan.UI/Components/InstAppPareto.razor.cs
+++ b/LiMan.UI/Components/InstAppPareto.razor.cs
@@ -26,14 +26,24 @@ namespace LiMan.UI.Components
protected override void OnParametersSet()
{
- ListRecord = CurrRecord.DetailInstalled.OrderByDescending(x => x.UpToDateStatus).ToList();
+ ListRecord = CurrRecord.DetailInstalled.OrderByDescending(x => x.VersNumInstall).ToList();
// sistemo info x grafico...
- ChartData = ListRecord.Select(x => (double)x.NumImp).ToArray();
- ChartLabels = ListRecord.Select(x => x.VersNumInstall).ToArray();
+ ChartData = ListRecord
+ .GroupBy(x => x.VersNumInstall)
+ .Select(g => (double)g.Sum(x => x.NumImp))
+ .ToArray();
+ ChartLabels = ListRecord
+ .GroupBy(x => x.VersNumInstall)
+ .Select(g => g.Key)
+ .ToArray();
ChartColor.Clear();
- foreach (var item in ListRecord)
+ var listStatus = ListRecord
+ .GroupBy(x => x.VersNumInstall)
+ .Select(g => g.First().UpToDateStatus)
+ .ToList();
+ foreach (var item in listStatus)
{
- switch (item.UpToDateStatus)
+ switch (item)
{
case 4:
ChartColor.Add(new DoughnutStyling("#28FF69", "00FF00"));
diff --git a/LiMan.UI/LiMan.UI.csproj b/LiMan.UI/LiMan.UI.csproj
index ead1ba4..5408185 100644
--- a/LiMan.UI/LiMan.UI.csproj
+++ b/LiMan.UI/LiMan.UI.csproj
@@ -2,7 +2,7 @@
net6.0
- 2.1.2501.1316
+ 2.1.2501.1317
LiMan.UI
LiMan.UI
diff --git a/LiMan.UI/Resources/ChangeLog.html b/LiMan.UI/Resources/ChangeLog.html
index 0c3991b..8073cd4 100644
--- a/LiMan.UI/Resources/ChangeLog.html
+++ b/LiMan.UI/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
License Manager
-
Versione: 2.1.2501.1316
+ Versione: 2.1.2501.1317
Note di rilascio:
-
diff --git a/LiMan.UI/Resources/VersNum.txt b/LiMan.UI/Resources/VersNum.txt
index 87a5982..516e2db 100644
--- a/LiMan.UI/Resources/VersNum.txt
+++ b/LiMan.UI/Resources/VersNum.txt
@@ -1 +1 @@
-2.1.2501.1316
+2.1.2501.1317
diff --git a/LiMan.UI/Resources/manifest.xml b/LiMan.UI/Resources/manifest.xml
index 35ddafc..1fe53b2 100644
--- a/LiMan.UI/Resources/manifest.xml
+++ b/LiMan.UI/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 2.1.2501.1316
+ 2.1.2501.1317
https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/LiMan.UI.zip
https://nexus.steamware.net/repository/SWS/LiMan/stable/LAST/ChangeLog.html
false