diff --git a/MP.SPEC/Components/Reparti/ListOperatori.razor b/MP.SPEC/Components/Reparti/ListOperatori.razor
index 93bfcd3d..610d9e40 100644
--- a/MP.SPEC/Components/Reparti/ListOperatori.razor
+++ b/MP.SPEC/Components/Reparti/ListOperatori.razor
@@ -36,7 +36,10 @@
- |
+ @if (SelEnabled)
+ {
+ |
+ }
Matr. |
Anagr. |
@if (DelEnabled)
@@ -53,9 +56,13 @@
@foreach (var item in ListRecords)
{
- |
-
- |
+
+ @if (SelEnabled)
+ {
+
+
+ |
+ }
@item.MatrOpr
|
diff --git a/MP.SPEC/Components/Reparti/ListOperatori.razor.cs b/MP.SPEC/Components/Reparti/ListOperatori.razor.cs
index a2e49169..9e6b6681 100644
--- a/MP.SPEC/Components/Reparti/ListOperatori.razor.cs
+++ b/MP.SPEC/Components/Reparti/ListOperatori.razor.cs
@@ -23,6 +23,8 @@ namespace MP.SPEC.Components.Reparti
[Parameter]
public bool DelEnabled { get; set; } = true;
+ [Parameter]
+ public bool SelEnabled { get; set; } = true;
[Parameter]
public EventCallback EC_RecChange { get; set; }
diff --git a/MP.SPEC/Components/Reparti/ListReparti.razor.cs b/MP.SPEC/Components/Reparti/ListReparti.razor.cs
index 92985e12..143ec19c 100644
--- a/MP.SPEC/Components/Reparti/ListReparti.razor.cs
+++ b/MP.SPEC/Components/Reparti/ListReparti.razor.cs
@@ -204,8 +204,8 @@ namespace MP.SPEC.Components.Reparti
SelRecord = null;
EditRec = null;
UpdateTable();
- await EC_RecordSel.InvokeAsync("");
await EC_RecordUpdated.InvokeAsync(true);
+ await EC_RecordSel.InvokeAsync("");
}
private void ToggleAddNew()
diff --git a/MP.SPEC/Data/MpDataService.cs b/MP.SPEC/Data/MpDataService.cs
index c66cb59d..79a911ab 100644
--- a/MP.SPEC/Data/MpDataService.cs
+++ b/MP.SPEC/Data/MpDataService.cs
@@ -688,8 +688,13 @@ namespace MP.SPEC.Data
/// Restitusice elenco Reparti
///
///
- public async Task> ElencoRepartiDtoAsync()
+ public async Task> ElencoRepartiDtoAsync(bool forceReload)
{
+ if (forceReload)
+ {
+ await FlushFusionCacheMacGrp();
+ await FlushFusionCacheOprGrp();
+ }
return await GetOrFetchAsync(
operationName: "ElencoRepartiDtoAsync",
cacheKey: $"{Utils.redisAnagGruppi}:REPARTO",
diff --git a/MP.SPEC/MP.SPEC.csproj b/MP.SPEC/MP.SPEC.csproj
index 26870041..e9d8a621 100644
--- a/MP.SPEC/MP.SPEC.csproj
+++ b/MP.SPEC/MP.SPEC.csproj
@@ -5,7 +5,7 @@
enable
enable
MP.SPEC
- 8.16.2606.816
+ 8.16.2606.817
1800a78a-6ff1-40f9-b490-87fb8bfc1394
en
diff --git a/MP.SPEC/Pages/RepOper.razor b/MP.SPEC/Pages/RepOper.razor
index 22084e57..cb9da4c1 100644
--- a/MP.SPEC/Pages/RepOper.razor
+++ b/MP.SPEC/Pages/RepOper.razor
@@ -45,7 +45,7 @@
-
+
}
diff --git a/MP.SPEC/Pages/RepOper.razor.cs b/MP.SPEC/Pages/RepOper.razor.cs
index 54cd46d7..0a2adc41 100644
--- a/MP.SPEC/Pages/RepOper.razor.cs
+++ b/MP.SPEC/Pages/RepOper.razor.cs
@@ -89,7 +89,7 @@ namespace MP.SPEC.Pages
if (string.IsNullOrEmpty(CodGruppo))
{
ListReparti?.Clear();
- var rawList = await MDService.ElencoRepartiDtoAsync();
+ var rawList = await MDService.ElencoRepartiDtoAsync(true);
if (string.IsNullOrEmpty(SearchVal))
{
ListReparti = rawList;
diff --git a/MP.SPEC/Resources/ChangeLog.html b/MP.SPEC/Resources/ChangeLog.html
index 2bb05146..bd04046d 100644
--- a/MP.SPEC/Resources/ChangeLog.html
+++ b/MP.SPEC/Resources/ChangeLog.html
@@ -1,6 +1,6 @@
Modulo MAPOSPEC
- Versione: 8.16.2606.816
+ Versione: 8.16.2606.817
Note di rilascio:
-
diff --git a/MP.SPEC/Resources/VersNum.txt b/MP.SPEC/Resources/VersNum.txt
index 1f704ea3..6f0f7fc4 100644
--- a/MP.SPEC/Resources/VersNum.txt
+++ b/MP.SPEC/Resources/VersNum.txt
@@ -1 +1 @@
-8.16.2606.816
+8.16.2606.817
diff --git a/MP.SPEC/Resources/manifest.xml b/MP.SPEC/Resources/manifest.xml
index 6eed7967..86ea6299 100644
--- a/MP.SPEC/Resources/manifest.xml
+++ b/MP.SPEC/Resources/manifest.xml
@@ -1,6 +1,6 @@
-
- 8.16.2606.816
+ 8.16.2606.817
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/MP.SPEC.zip
https://nexus.steamware.net/repository/SWS/MP-SPEC/stable/LAST/ChangeLog.html
false