Browse Source

Merge pull request #5504 from nocodb/fix/pv-display

fix(nocodb): extract pv object
pull/5508/head
Raju Udava 2 years ago committed by GitHub
parent
commit
a7ab245806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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 =
allowedCols && (!includePkByDefault || !col.pk)
? allowedCols[col.id] &&
(!isSystemColumn(col) || view.show_system_fields) &&
(!isSystemColumn(col) || view.show_system_fields || col.pv) &&
(!fields?.length || fields.includes(col.title)) &&
value
: fields?.length

Loading…
Cancel
Save