From 03959fa8a3a229160404c99f0853841a3c9b385b Mon Sep 17 00:00:00 2001 From: mertmit Date: Sat, 6 Jan 2024 08:47:49 +0000 Subject: [PATCH] fix: add created by and last modified by to ref column function --- packages/nocodb/src/helpers/columnHelpers.ts | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/packages/nocodb/src/helpers/columnHelpers.ts b/packages/nocodb/src/helpers/columnHelpers.ts index d2c9ab06f2..ce206722e8 100644 --- a/packages/nocodb/src/helpers/columnHelpers.ts +++ b/packages/nocodb/src/helpers/columnHelpers.ts @@ -295,9 +295,14 @@ export const getRefColumnIfAlias = async ( columns?: Column[], ) => { if ( - !([UITypes.CreatedTime, UITypes.LastModifiedTime] as UITypes[]).includes( - column.uidt, - ) + !( + [ + UITypes.CreatedTime, + UITypes.LastModifiedTime, + UITypes.CreatedBy, + UITypes.LastModifiedBy, + ] as UITypes[] + ).includes(column.uidt) ) return column;