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