From c1ce620532b77824bba742fa82c47add27136d39 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Thu, 28 Nov 2024 14:48:04 +0000 Subject: [PATCH] fix: snapshot fixes --- packages/nocodb/src/models/Comment.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/nocodb/src/models/Comment.ts b/packages/nocodb/src/models/Comment.ts index b8f36ecd91..56d5aed55b 100644 --- a/packages/nocodb/src/models/Comment.ts +++ b/packages/nocodb/src/models/Comment.ts @@ -64,14 +64,16 @@ export default class Comment implements CommentType { }, limit: READ_BATCH_SIZE + 1, offset, - xcCondition: [ + xcCondition: { _or: [ - { is_deleted: null }, - { is_deleted: false }, + { is_deleted: { eq: null } }, + { is_deleted: { + eq: true + } }, ] } - ] + } );