Compare commits

..

No commits in common. "e5081ff5681d587e869efb04eeb8a71b820c0fd8" and "4faa15a219256246cc378423e93906d197d59ee9" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -206,8 +206,7 @@ namespace IRaCIS.Core.Application.Service.Common
var isIR = _userInfo.UserTypeEnumInt == (int)UserTypeEnum.IndependentReviewer; var isIR = _userInfo.UserTypeEnumInt == (int)UserTypeEnum.IndependentReviewer;
var query = _trialRepository.AsQueryable() var query = _trialRepository.AsQueryable().IgnoreQueryFilters()
.WhereIf(inQuery.TrialIdList.Count()>0, o => inQuery.TrialIdList.Contains(o.Id))
.WhereIf(inQuery.SponsorId != null, o => o.SponsorId == inQuery.SponsorId) .WhereIf(inQuery.SponsorId != null, o => o.SponsorId == inQuery.SponsorId)
.WhereIf(!string.IsNullOrEmpty(inQuery.Code), o => o.TrialCode.Contains(inQuery.Code)) .WhereIf(!string.IsNullOrEmpty(inQuery.Code), o => o.TrialCode.Contains(inQuery.Code))

View File

@ -279,8 +279,6 @@ namespace IRaCIS.Core.Application.Contracts
public CriterionType? CriterionType { get; set; } public CriterionType? CriterionType { get; set; }
public string? PM_EMail { get; set; } public string? PM_EMail { get; set; }
public List<Guid> TrialIdList { get; set; }=new List<Guid>();
} }
public class TrialToBeDoneDto : TrialBaseInfoDto public class TrialToBeDoneDto : TrialBaseInfoDto