forked from ddrilling/AsbCloudServer
CS2-82: Sorted operations in Plan\Fact table
This commit is contained in:
parent
a86c2ed971
commit
7aa83f8c2d
@ -25,7 +25,8 @@ namespace AsbCloudInfrastructure.Services
|
||||
|
||||
public IEnumerable<WellOperationCategoryDto> GetCategories()
|
||||
{
|
||||
var operationTypes = cachedOperationCategories.Where().Distinct();
|
||||
var operationTypes = cachedOperationCategories.Where()
|
||||
.Distinct().OrderBy(o => o.Name);
|
||||
var result = operationTypes.Adapt<WellOperationCategoryDto>();
|
||||
|
||||
return result;
|
||||
|
Loading…
Reference in New Issue
Block a user