From bb8d8667787afb3d2499b71d5592b5e5c98a4da5 Mon Sep 17 00:00:00 2001 From: ivanszabo Date: Tue, 22 Apr 2025 14:17:56 +0200 Subject: [PATCH] =?UTF-8?q?Jav=C3=ADt=C3=A1s=20a=20Blokkolt=20t=C3=A9telek?= =?UTF-8?q?re=20is.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/WorkFlowCheck.BL/Services/SyncService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WorkFlowCheck.BL/Services/SyncService.cs b/src/WorkFlowCheck.BL/Services/SyncService.cs index 327024e..7195aa4 100644 --- a/src/WorkFlowCheck.BL/Services/SyncService.cs +++ b/src/WorkFlowCheck.BL/Services/SyncService.cs @@ -347,8 +347,8 @@ namespace WorkFlowCheck.BL.Services try { var res = await _dbContext.CheckListHeaders - .Where(w => w.IsEditable && - w.IsDeleted != true + .Where(w => (w.IsEditable && + w.IsDeleted != true) || (w.CheckStatus == CheckStatus.Blocked) ) .Include(i => i.CheckListRows) //.ThenInclude(i => i.CheckListTemplateRow)