diff --git a/packages/twenty-front/src/modules/object-record/record-filter/utils/__tests__/computeViewRecordGqlOperationFilter.test.ts b/packages/twenty-front/src/modules/object-record/record-filter/utils/__tests__/computeViewRecordGqlOperationFilter.test.ts index f7f14f0cca..90aedd2d71 100644 --- a/packages/twenty-front/src/modules/object-record/record-filter/utils/__tests__/computeViewRecordGqlOperationFilter.test.ts +++ b/packages/twenty-front/src/modules/object-record/record-filter/utils/__tests__/computeViewRecordGqlOperationFilter.test.ts @@ -740,20 +740,6 @@ describe('should work as expected for the different field types', () => { }, ], }, - { - or: [ - { - phones: { - primaryPhoneCallingCode: { is: 'NULL' }, - }, - }, - { - phones: { - primaryPhoneCallingCode: { ilike: '' }, - }, - }, - ], - }, { or: [ { @@ -787,20 +773,6 @@ describe('should work as expected for the different field types', () => { }, ], }, - { - or: [ - { - phones: { - primaryPhoneCallingCode: { is: 'NULL' }, - }, - }, - { - phones: { - primaryPhoneCallingCode: { ilike: '' }, - }, - }, - ], - }, { or: [ { diff --git a/packages/twenty-shared/src/utils/filter/utils/getEmptyRecordGqlOperationFilter.ts b/packages/twenty-shared/src/utils/filter/utils/getEmptyRecordGqlOperationFilter.ts index 1288873907..480c7f731f 100644 --- a/packages/twenty-shared/src/utils/filter/utils/getEmptyRecordGqlOperationFilter.ts +++ b/packages/twenty-shared/src/utils/filter/utils/getEmptyRecordGqlOperationFilter.ts @@ -70,20 +70,6 @@ export const getEmptyRecordGqlOperationFilter = ({ }, ], }, - { - or: [ - { - [correspondingField.name]: { - primaryPhoneCallingCode: { is: 'NULL' }, - } as PhonesFilter, - }, - { - [correspondingField.name]: { - primaryPhoneCallingCode: { ilike: '' }, - } as PhonesFilter, - }, - ], - }, { or: [ {