diff --git a/packages/nocodb/src/models/Column.ts b/packages/nocodb/src/models/Column.ts index 9b7ffd464b..efea0d2238 100644 --- a/packages/nocodb/src/models/Column.ts +++ b/packages/nocodb/src/models/Column.ts @@ -1168,7 +1168,7 @@ export default class Column implements ColumnType { // whenever a new request comes for that formula, it will be populated again getFormulasReferredTheColumn({ column: updatedColumn, - columns: await Column.list({ fk_model_id: column.fk_model_id }, ncMeta), + columns: await Column.list({ fk_model_id: oldCol.fk_model_id }, ncMeta), }) .then(async (formulas) => { for (const formula of formulas) {