From 36666c6a41f82e178eba9a30bedd9dba1709d6f4 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Wed, 18 Oct 2023 18:01:46 +0000 Subject: [PATCH] fix: extract default value of `getHiddenColumn` from query params --- packages/nocodb/src/helpers/getAst.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nocodb/src/helpers/getAst.ts b/packages/nocodb/src/helpers/getAst.ts index cd80a92dd3..429dcaea98 100644 --- a/packages/nocodb/src/helpers/getAst.ts +++ b/packages/nocodb/src/helpers/getAst.ts @@ -18,7 +18,7 @@ const getAst = async ({ nested: { ...(query?.nested || {}) }, fieldsSet: new Set(), }, - getHiddenColumn = false, + getHiddenColumn = query?.['getHiddenColumn'], }: { query?: RequestQuery; extractOnlyPrimaries?: boolean;