|
@@ -672,7 +672,7 @@ namespace GxPress.Service.Implement.Middle
|
|
|
if (!string.IsNullOrWhiteSpace(request.KeyWord))
|
|
|
query.WhereLike(nameof(Entity.Middle.Middle.FolderName), $"%{request.KeyWord}%");
|
|
|
var middles = await _middleRepository.FindAsync(query.OrderByDesc(nameof(Entity.Middle.Middle.IsSystemDefault),
|
|
|
- nameof(Entity.Middle.Middle.AttributeValue), nameof(Entity.Middle.Middle.IsTop),
|
|
|
+ nameof(Entity.Middle.Middle.AttributeValue), nameof(Entity.Middle.Middle.Sort),
|
|
|
nameof(Entity.Middle.Middle.CreatedDate)));
|
|
|
List<MiddleSearchFolderResult> result = new List<MiddleSearchFolderResult>();
|
|
|
foreach (var item in middles)
|