forked from ddrilling/AsbCloudServer
Merge pull request 'Доработка по модалке контактов: в список контактов должны попадать только активные пользователи' (#102) from fix/well-contacts-rework into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/102
This commit is contained in:
commit
3369483ee6
@ -29,7 +29,10 @@ namespace AsbCloudInfrastructure.Services
|
|||||||
{
|
{
|
||||||
Caption = c.Caption,
|
Caption = c.Caption,
|
||||||
Id = c.Id,
|
Id = c.Id,
|
||||||
Users = c.Users.Select(u => new UserContactDto()
|
Users = c.Users
|
||||||
|
.Where(u => u.IdState == 1)
|
||||||
|
.OrderBy(u => u.Surname)
|
||||||
|
.Select(u => new UserContactDto()
|
||||||
{
|
{
|
||||||
Id = u.Id,
|
Id = u.Id,
|
||||||
Name = u.Name,
|
Name = u.Name,
|
||||||
|
Loading…
Reference in New Issue
Block a user