diff --git a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs index 594e8d75f..d277aa622 100644 --- a/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs +++ b/IRaCIS.Core.Application/Service/Document/SystemDocumentService.cs @@ -32,6 +32,7 @@ namespace IRaCIS.Core.Application.Services var systemDocumentAttachmentQueryable = _systemDocumentAttachmentRepository .WhereIf(inQuery.SystemDocumentId != null, t => t.SystemDocumentId == inQuery.SystemDocumentId) + .WhereIf(inQuery.OffLine != null, t => t.OffLine == inQuery.OffLine) .WhereIf(inQuery.FileName != null, t => t.FileName == inQuery.FileName) .WhereIf(inQuery.FileFormat != null, t => t.FileFormat == inQuery.FileFormat) .ProjectTo<SystemDocumentAttachmentView>(_mapper.ConfigurationProvider);