mirror of
https://github.com/claunia/marechai.git
synced 2025-12-16 11:04:25 +00:00
Fix documentation by machine (family) getting invalid sort sequence.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
<Version>4.0.0.1825</Version>
|
||||
<Version>4.0.0.1833</Version>
|
||||
<Company>Canary Islands Computer Museum</Company>
|
||||
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
|
||||
<Product>Canary Islands Computer Museum Website</Product>
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Marechai.Services
|
||||
BookId = p.BookId,
|
||||
MachineFamilyId = p.MachineFamilyId,
|
||||
MachineFamily = p.MachineFamily.Name
|
||||
}).OrderBy(p => p.MachineFamily).ThenBy(p => p.Book).ToListAsync();
|
||||
}).OrderBy(p => p.MachineFamily).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace Marechai.Services
|
||||
BookId = p.BookId,
|
||||
MachineId = p.MachineId,
|
||||
Machine = p.Machine.Name
|
||||
}).OrderBy(p => p.Machine).ThenBy(p => p.Book).ToListAsync();
|
||||
}).OrderBy(p => p.Machine).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Marechai.Services
|
||||
DocumentId = p.DocumentId,
|
||||
MachineFamilyId = p.MachineFamilyId,
|
||||
MachineFamily = p.MachineFamily.Name
|
||||
}).OrderBy(p => p.MachineFamily).ThenBy(p => p.Document).ToListAsync();
|
||||
}).OrderBy(p => p.MachineFamily).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Marechai.Services
|
||||
DocumentId = p.DocumentId,
|
||||
MachineId = p.MachineId,
|
||||
Machine = p.Machine.Name
|
||||
}).OrderBy(p => p.Machine).ThenBy(p => p.Document).ToListAsync();
|
||||
}).OrderBy(p => p.Machine).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Marechai.Services
|
||||
MagazineId = p.MagazineId,
|
||||
MachineFamilyId = p.MachineFamilyId,
|
||||
MachineFamily = p.MachineFamily.Name
|
||||
}).OrderBy(p => p.MachineFamily).ThenBy(p => p.Magazine).ToListAsync();
|
||||
}).OrderBy(p => p.MachineFamily).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace Marechai.Services
|
||||
MagazineId = p.MagazineId,
|
||||
MachineId = p.MachineId,
|
||||
Machine = p.Machine.Name
|
||||
}).OrderBy(p => p.Machine).ThenBy(p => p.Magazine).ToListAsync();
|
||||
}).OrderBy(p => p.Machine).ToListAsync();
|
||||
|
||||
public async Task DeleteAsync(long id, string userId)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user