From 90e4e18ce52ff4d1d8ae7c80736a6384712ad414 Mon Sep 17 00:00:00 2001 From: Samuele Locatelli Date: Tue, 2 Sep 2025 14:55:49 +0200 Subject: [PATCH] SPEC: - fix filtro in PODL-KIT --- MP.SPEC/Components/ProdKit/GestKitPodl.razor.cs | 7 +++++-- MP.SPEC/Components/ProdKit/Manager.razor.cs | 5 +++++ MP.SPEC/MP.SPEC.csproj | 2 +- MP.SPEC/Pages/Podl2Kit.razor | 1 - MP.SPEC/Resources/ChangeLog.html | 2 +- MP.SPEC/Resources/VersNum.txt | 2 +- MP.SPEC/Resources/manifest.xml | 2 +- 7 files changed, 14 insertions(+), 7 deletions(-) diff --git a/MP.SPEC/Components/ProdKit/GestKitPodl.razor.cs b/MP.SPEC/Components/ProdKit/GestKitPodl.razor.cs index 7506dc87..dc5671e3 100644 --- a/MP.SPEC/Components/ProdKit/GestKitPodl.razor.cs +++ b/MP.SPEC/Components/ProdKit/GestKitPodl.razor.cs @@ -308,14 +308,17 @@ namespace MP.SPEC.Components.ProdKit // reset preliminare... ListRecordsPODL = new List(); - 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; } diff --git a/MP.SPEC/Components/ProdKit/Manager.razor.cs b/MP.SPEC/Components/ProdKit/Manager.razor.cs index d6f85825..283763bf 100644 --- a/MP.SPEC/Components/ProdKit/Manager.razor.cs +++ b/MP.SPEC/Components/ProdKit/Manager.razor.cs @@ -68,6 +68,11 @@ namespace MP.SPEC.Components.ProdKit calcKitCode(); } DateTime oggi = DateTime.Today; + } + + protected override void OnParametersSet() + { + //base.OnParametersSet(); ReloadData(); } diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj index d258a8ed..03a6ad42 100644 --- a/MP.SPEC/MP.SPEC.csproj +++ b/MP.SPEC/MP.SPEC.csproj @@ -5,7 +5,7 @@ enable enable MP.SPEC - 6.16.2507.1610 + 6.16.2509.214 1800a78a-6ff1-40f9-b490-87fb8bfc1394 en diff --git a/MP.SPEC/Pages/Podl2Kit.razor b/MP.SPEC/Pages/Podl2Kit.razor index 761ea82f..a80cbba4 100644 --- a/MP.SPEC/Pages/Podl2Kit.razor +++ b/MP.SPEC/Pages/Podl2Kit.razor @@ -36,7 +36,6 @@ - diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html index 121377d0..cb5da5d9 100644 --- a/MP.SPEC/Resources/ChangeLog.html +++ b/MP.SPEC/Resources/ChangeLog.html @@ -1,6 +1,6 @@ Modulo MAPOSPEC -

Versione: 6.16.2507.1610

+

Versione: 6.16.2509.214


Note di rilascio: