From f87dcfe3d1de019b24b56102028e54a7cb007592 Mon Sep 17 00:00:00 2001 From: DarkPhoenix2704 Date: Tue, 20 Feb 2024 07:16:00 +0000 Subject: [PATCH] fix(nc-gui): update filters --- .../composables/useCalendarViewStore.ts | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/packages/nc-gui/composables/useCalendarViewStore.ts b/packages/nc-gui/composables/useCalendarViewStore.ts index 6260282aba..1b648791d2 100644 --- a/packages/nc-gui/composables/useCalendarViewStore.ts +++ b/packages/nc-gui/composables/useCalendarViewStore.ts @@ -268,6 +268,20 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState( comparison_sub_op: 'exactDate', value: toDate, }, + { + fk_column_id: toCol.id, + comparison_op: 'eq', + logical_op: 'or', + comparison_sub_op: 'exactDate', + value: fromDate, + }, + { + fk_column_id: fromCol.id, + comparison_op: 'eq', + logical_op: 'or', + comparison_sub_op: 'exactDate', + value: toDate, + }, ], }, ] @@ -457,6 +471,20 @@ const [useProvideCalendarViewStore, useCalendarViewStore] = useInjectionState( comparison_sub_op: 'exactDate', value: toDate, }, + { + fk_column_id: toCol.id, + comparison_op: 'eq', + logical_op: 'or', + comparison_sub_op: 'exactDate', + value: fromDate, + }, + { + fk_column_id: fromCol.id, + comparison_op: 'eq', + logical_op: 'or', + comparison_sub_op: 'exactDate', + value: toDate, + }, ], }, ]