TANG JIANG hace 2 años
padre
commit
c1420a58f6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/Hotline.Api/Controllers/KnowledgeCommonController.cs

+ 1 - 1
src/Hotline.Api/Controllers/KnowledgeCommonController.cs

@@ -151,7 +151,7 @@ namespace Hotline.Api.Controllers
 
             return await _knowledgeTypeRepository
                 .Queryable()
-                .Where(p => p.ParentId == ParentId && p.IsDeleted == false)
+                .Where(p => p.ParentId == ParentId)
                 .WhereIF(IsEnable.HasValue, p => p.IsEnable == IsEnable)
                 .OrderByDescending(p => p.Sort)
                 .ToListAsync();