李昊 4 år sedan
förälder
incheckning
1bec986f95

+ 0 - 2
gx_api/GxPress/Model/GxPress.Request/App/Topic/TopicPageSearchRequest.cs

@@ -1,6 +1,4 @@
-using System;
 using System.Collections.Generic;
-using System.Text;
 using GxPress.Common.Page;
 
 namespace GxPress.Request.App.Topic

+ 1 - 1
gx_api/GxPress/Service/GxPress.Service.Implement/Middle/MiddleService.cs

@@ -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)