Ancora update gestione elenco articoli

This commit is contained in:
Samuele Locatelli
2026-05-27 12:05:27 +02:00
parent e328c4e6f1
commit 9537691756
6 changed files with 12 additions and 9 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<RootNamespace>MP.SPEC</RootNamespace>
<Version>8.16.2605.2711</Version>
<Version>8.16.2605.2712</Version>
<UserSecretsId>1800a78a-6ff1-40f9-b490-87fb8bfc1394</UserSecretsId>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
</PropertyGroup>
+1 -1
View File
@@ -118,7 +118,7 @@
</div>
<div class="card-body">
@if (ListRecords == null)
@if (ListRecords == null || isLoading)
{
<LoadingData></LoadingData>
}
+7 -4
View File
@@ -248,8 +248,7 @@ namespace MP.SPEC.Pages
if (_currPage != value)
{
_currPage = value;
var pUpd = Task.Run(async () => await ReloadData());
pUpd.Wait();
UpdateTable();
}
}
}
@@ -264,8 +263,7 @@ namespace MP.SPEC.Pages
if (_numRecord != value)
{
_numRecord = value;
var pUpd = Task.Run(async () => await ReloadData());
pUpd.Wait();
UpdateTable();
}
}
}
@@ -331,6 +329,11 @@ namespace MP.SPEC.Pages
{
isLoading = true;
SearchRecords = await MDService.ArticoliGetSearchAsync(100000, selAzienda, SearchVal);
UpdateTable();
}
private void UpdateTable()
{
ListRecords = SearchRecords.Skip(numRecord * (currPage - 1)).Take(numRecord).ToList();
isLoading = false;
}
+1 -1
View File
@@ -1,6 +1,6 @@
<body>
<i>Modulo MAPOSPEC </i>
<h4>Versione: 8.16.2605.2711</h4>
<h4>Versione: 8.16.2605.2712</h4>
<br /> Note di rilascio:
<ul>
<li>
+1 -1
View File
@@ -1 +1 @@
8.16.2605.2711
8.16.2605.2712
+1 -1
View File
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<item>
<version>8.16.2605.2711</version>
<version>8.16.2605.2712</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>