Merge pull request 'WellOperation Sort' (#35) from WellOperationCategories_Sort into dev

Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/35
Reviewed-by: Никита Фролов <ng.frolov@digitaldrilling.ru>
This commit is contained in:
Никита Фролов 2023-03-13 17:02:52 +05:00
commit f0a80aae02

View File

@ -50,8 +50,7 @@ namespace AsbCloudInfrastructure.Repository
} }
var result = categories var result = categories
.OrderBy(o => o.IdParent) .OrderBy(o => o.Name)
.ThenBy(o => o.Name)
.Adapt<IEnumerable<WellOperationCategoryDto>>(); .Adapt<IEnumerable<WellOperationCategoryDto>>();
return result; return result;