Test.EIImageViewer
parent
10b23cb394
commit
b6892509a4
|
@ -593,7 +593,7 @@ namespace IRaCIS.Application.Services
|
|||
item.Answer = answer.IsNullOrEmpty() ? item.DefaultValue : answer;
|
||||
|
||||
|
||||
item.Childrens = questions.Where(x => x.ParentId == item.Id || x.GroupId==item.Id).ToList();
|
||||
item.Childrens = questions.Where(x => x.ParentId == item.Id || (x.GroupId==item.Id&&x.ParentId==null)).ToList();
|
||||
if (item.Childrens != null && item.Childrens.Count > 0)
|
||||
{
|
||||
foreach (var question in item.Childrens)
|
||||
|
|
Loading…
Reference in New Issue