diff --git a/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Layouts/LayoutAppService.cs b/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Layouts/LayoutAppService.cs index cd071e320..25a1c1258 100644 --- a/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Layouts/LayoutAppService.cs +++ b/aspnet-core/modules/platform/LINGYUN.Platform.Application/LINGYUN/Platform/Layouts/LayoutAppService.cs @@ -80,7 +80,7 @@ namespace LINGYUN.Platform.Layouts var layouts = await LayoutRepository.GetPagedListAsync( input.Framework, input.Filter, - input.Sorting, input.Reverse, false, + input.Sorting, false, input.SkipCount, input.MaxResultCount); return new PagedResultDto(count, diff --git a/aspnet-core/modules/platform/LINGYUN.Platform.EntityFrameworkCore/LINGYUN/Platform/Menus/EfCoreMenuRepository.cs b/aspnet-core/modules/platform/LINGYUN.Platform.EntityFrameworkCore/LINGYUN/Platform/Menus/EfCoreMenuRepository.cs index 7ba83815f..3838c0a20 100644 --- a/aspnet-core/modules/platform/LINGYUN.Platform.EntityFrameworkCore/LINGYUN/Platform/Menus/EfCoreMenuRepository.cs +++ b/aspnet-core/modules/platform/LINGYUN.Platform.EntityFrameworkCore/LINGYUN/Platform/Menus/EfCoreMenuRepository.cs @@ -183,7 +183,7 @@ namespace LINGYUN.Platform.Menus menu.Path.Contains(filter) || menu.Name.Contains(filter) || menu.DisplayName.Contains(filter) || menu.Description.Contains(filter) || menu.Redirect.Contains(filter)) - .rting) + .OrderBy(sorting) .ToListAsync(GetCancellationToken(cancellationToken)); }