fix(shortcodesService): Исправлена сортировка родителей для тега %РОД_ЭК_ПЕРВЫЙ%
This commit is contained in:
@@ -300,8 +300,8 @@ internal class ShortcodesService : IShortcodesService
|
||||
parentUnits = await _unitRepo.Get()
|
||||
.AsNoTracking()
|
||||
.Where(u => parentIds.Contains(u.Id))
|
||||
.OrderBy(u => u.Name)
|
||||
.Select(u => new ParentUnitForShortcode(u.Id, u.Name))
|
||||
.OrderBy(u => u.UnitName)
|
||||
.ToListAsync()
|
||||
.ConfigureAwait(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user