Browse Source

feat(nocodb): include select fields

pull/5106/head
Wing-Kam Wong 2 years ago
parent
commit
748ad2398c
  1. 4
      packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104003.ts

4
packages/nocodb/src/lib/version-upgrader/ncFilterUpgrader_0104003.ts

@ -35,6 +35,7 @@ export default async function ({ ncMeta }: NcUpgraderCtx) {
} }
} else if ( } else if (
[ [
// numeric fields
UITypes.Duration, UITypes.Duration,
UITypes.Currency, UITypes.Currency,
UITypes.Percent, UITypes.Percent,
@ -42,6 +43,9 @@ export default async function ({ ncMeta }: NcUpgraderCtx) {
UITypes.Decimal, UITypes.Decimal,
UITypes.Rating, UITypes.Rating,
UITypes.Rollup, UITypes.Rollup,
// select fields
UITypes.SingleSelect,
UITypes.MultiSelect,
].includes(col.uidt) ].includes(col.uidt)
) { ) {
if (['like', 'nlike'].includes(filter.comparison_op)) { if (['like', 'nlike'].includes(filter.comparison_op)) {

Loading…
Cancel
Save