forked from ddrilling/AsbCloudServer
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:
commit
f0a80aae02
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user