diff --git a/MP.SPEC/Pages/GroupMacOprMan.razor.cs b/MP.SPEC/Pages/RepOper.razor.cs
similarity index 81%
rename from MP.SPEC/Pages/GroupMacOprMan.razor.cs
rename to MP.SPEC/Pages/RepOper.razor.cs
index f9f63a52..de1002c2 100644
--- a/MP.SPEC/Pages/GroupMacOprMan.razor.cs
+++ b/MP.SPEC/Pages/RepOper.razor.cs
@@ -5,7 +5,7 @@ using MP.SPEC.Data;
namespace MP.SPEC.Pages
{
- public partial class GroupMacOprMan
+ public partial class RepOper
{
#region Protected Fields
@@ -64,7 +64,7 @@ namespace MP.SPEC.Pages
private string CssMain
{
- get => ShowDetail ? "col-3" : "col-12";
+ get => ShowDetail ? "col-4" : "col-12";
}
private bool ShowDetail
@@ -96,14 +96,18 @@ namespace MP.SPEC.Pages
{
isLoading = true;
ListMacchine?.Clear();
- var rawList = MDService.ElencoRepartiDTO();
- if (string.IsNullOrEmpty(SearchVal))
+ ListReparti?.Clear();
+ if (string.IsNullOrEmpty(CodGruppo))
{
- ListReparti = rawList;
- }
- else
- {
- ListReparti = rawList.Where(x => x.CodGruppo.Contains(SearchVal, StringComparison.InvariantCultureIgnoreCase) || x.DescrGruppo.Contains(SearchVal, StringComparison.InvariantCultureIgnoreCase)).ToList();
+ var rawList = await MDService.ElencoRepartiDtoAsync();
+ if (string.IsNullOrEmpty(SearchVal))
+ {
+ ListReparti = rawList;
+ }
+ else
+ {
+ ListReparti = rawList.Where(x => x.CodGruppo.Contains(SearchVal, StringComparison.InvariantCultureIgnoreCase) || x.DescrGruppo.Contains(SearchVal, StringComparison.InvariantCultureIgnoreCase)).ToList();
+ }
}
if (!string.IsNullOrEmpty(CodGruppo))
{
@@ -122,9 +126,10 @@ namespace MP.SPEC.Pages
}
}
- private void ResetSearch()
+ private async Task ResetSearch()
{
SearchVal = "";
+ await ReloadDataAsync();
}
private async Task SetCodGruppo(string CodGruppoSel)
diff --git a/MP.Stats/MP.Stats.csproj b/MP.Stats/MP.Stats.csproj
index 75f6846d..fb313057 100644
--- a/MP.Stats/MP.Stats.csproj
+++ b/MP.Stats/MP.Stats.csproj
@@ -4,7 +4,7 @@
net8.0
MP.Stats
826e877c-ba70-4253-84cb-d0b1cafd4440
-
8.16.2605.2911
+
8.16.2605.2912
true
en
diff --git a/MP.Stats/Resources/ChangeLog.html b/MP.Stats/Resources/ChangeLog.html
index 91b4a17f..1b148368 100644
--- a/MP.Stats/Resources/ChangeLog.html
+++ b/MP.Stats/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo statistiche MAPO
-
Versione: 8.16.2605.2911
+
Versione: 8.16.2605.2912
Note di rilascio:
diff --git a/MP.Stats/Resources/VersNum.txt b/MP.Stats/Resources/VersNum.txt
index 5bba24a5..a0cc7bd5 100644
--- a/MP.Stats/Resources/VersNum.txt
+++ b/MP.Stats/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2605.2911
+8.16.2605.2912
diff --git a/MP.Stats/Resources/manifest.xml b/MP.Stats/Resources/manifest.xml
index 12a79c96..49b25e7c 100644
--- a/MP.Stats/Resources/manifest.xml
+++ b/MP.Stats/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2605.2911
+ 8.16.2605.2912
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/MP.Stats.zip
https://nexus.steamware.net/repository/SWS/MP-STATS/stable/LAST/ChangeLog.html
false
diff --git a/Refactor_Plan.md b/Refactor_Plan.md
index 64db86af..5be856a1 100644
--- a/Refactor_Plan.md
+++ b/Refactor_Plan.md
@@ -55,6 +55,10 @@ Migrare la logica di caching manuale (Redis + DB) verso l'utilizzo di `IFusionCa
- `WipKitFiltAsync`
- `MseGetAllAsync` (Migrato e rinominato)
- `OdlByKeyAsync` (Migrato e rinominato)
+- `TemplateKitDeleteAsync` (Migrato con tag invalidazione)
+- `TemplateKitUpsertAsync` (Migrato con tag invalidazione)
+- `WipKitDeleteAsync` (Migrato con tag invalidazione)
+- `WipKitUpsertAsync` (Migrato con tag invalidazione)
#### 🛠️ Metodi da Migrare (Usano ancora Redis/DB manuale)
- [ ] Migrazione di `ActionGetReq` (linea 110: usa `redisDb.StringGetAsync`).
@@ -82,3 +86,4 @@ Migrare la logica di caching manuale (Redis + DB) verso l'utilizzo di `IFusionCa
- **Rischio**: Errori di serializzazione.
- *Mitigazione*: `FusionCache` gestisce la serializzazione, ma è necessario assicurarsi che i tipi di ritorno siano compatibili con le aspettative dei chiamanti.
+