Browse Source

fix: add created by and last modified by to ref column function

pull/7373/head
mertmit 10 months ago
parent
commit
03959fa8a3
  1. 11
      packages/nocodb/src/helpers/columnHelpers.ts

11
packages/nocodb/src/helpers/columnHelpers.ts

@ -295,9 +295,14 @@ export const getRefColumnIfAlias = async (
columns?: Column[], columns?: Column[],
) => { ) => {
if ( 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; return column;

Loading…
Cancel
Save