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 + } }, ] } - ] + } );