Browse Source

fix(nocodb): extract pv object

pull/5504/head
Wing-Kam Wong 2 years ago
parent
commit
0151b3b2ad
  1. 2
      packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/helpers/getAst.ts

2
packages/nocodb/src/lib/db/sql-data-mapper/lib/sql/helpers/getAst.ts

@ -117,7 +117,7 @@ const getAst = async ({
const isRequested = const isRequested =
allowedCols && (!includePkByDefault || !col.pk) allowedCols && (!includePkByDefault || !col.pk)
? allowedCols[col.id] && ? allowedCols[col.id] &&
(!isSystemColumn(col) || view.show_system_fields) && (!isSystemColumn(col) || view.show_system_fields || col.pv) &&
(!fields?.length || fields.includes(col.title)) && (!fields?.length || fields.includes(col.title)) &&
value value
: fields?.length : fields?.length

Loading…
Cancel
Save