- fix filtro in PODL-KIT
This commit is contained in:
Samuele Locatelli
2025-09-02 14:55:49 +02:00
parent b970eb06a9
commit 90e4e18ce5
7 changed files with 14 additions and 7 deletions
@@ -308,14 +308,17 @@ namespace MP.SPEC.Components.ProdKit
// reset preliminare...
ListRecordsPODL = new List<PODLExpModel>();
ListRecordsPODL = PodlRecords
var filtRecordsPODL = PodlRecords
.Where(x => !string.IsNullOrEmpty(x.KeyRichiesta) && x.KeyRichiesta.StartsWith("KIT"))
.ToList();
ListRecordsPODL = filtRecordsPODL
.Skip(numRecord * (currPage - 1))
.Take(numRecord)
.ToList();
// conto e filtro
totalCount = ListRecordsPODL.Count;
totalCount = filtRecordsPODL.Count;
isLoading = false;
}
@@ -68,6 +68,11 @@ namespace MP.SPEC.Components.ProdKit
calcKitCode();
}
DateTime oggi = DateTime.Today;
}
protected override void OnParametersSet()
{
//base.OnParametersSet();
ReloadData();
}
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>6.16.2507.1610</Version>
<Version>6.16.2509.214</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
-1
View File
@@ -36,7 +36,6 @@
<i class="fa-solid fa-bars"></i>
</a>
</div>
<SelFilterXDL currFilter="@currFilter" ListMacchine="@ListMacchine" ListStati="@ListStati" ListGruppiFase="@ListGruppiFase" FilterChanged="UpdateFilter" ChangeGrpEnab="!isComposing"></SelFilterXDL>
</div>
</div>
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 6.16.2507.1610</h4>
<h4>Versione: 6.16.2509.214</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
6.16.2507.1610
6.16.2509.214
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>6.16.2507.1610</version>
<version>6.16.2509.214</version>
<url>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip</url>
<changelog>https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html</changelog>
<mandatory>false</mandatory>