Browse Source

feat(nc-gui): include date & datetimes for >, <, >= and <=

pull/5185/head
Wing-Kam Wong 2 years ago
parent
commit
31a3d84524
  1. 8
      packages/nc-gui/utils/filterUtils.ts

8
packages/nc-gui/utils/filterUtils.ts

@ -156,22 +156,22 @@ export const comparisonOpList = (
{
text: '>',
value: 'gt',
includedTypes: [...numericUITypes],
includedTypes: [...numericUITypes, UITypes.Date, UITypes.DateTime],
},
{
text: '<',
value: 'lt',
includedTypes: [...numericUITypes],
includedTypes: [...numericUITypes, UITypes.Date, UITypes.DateTime],
},
{
text: '>=',
value: 'gte',
includedTypes: [...numericUITypes],
includedTypes: [...numericUITypes, UITypes.Date, UITypes.DateTime],
},
{
text: '<=',
value: 'lte',
includedTypes: [...numericUITypes],
includedTypes: [...numericUITypes, UITypes.Date, UITypes.DateTime],
},
{
text: 'is blank',

Loading…
Cancel
Save