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
.OrderBy(o => o.IdParent)
.ThenBy(o => o.Name)
.OrderBy(o => o.Name)
.Adapt<IEnumerable<WellOperationCategoryDto>>();
return result;