Browse Source

fix: extract as title

Signed-off-by: Pranav C <pranavxc@gmail.com>
pull/7649/head
Pranav C 10 months ago
parent
commit
62ef20a6ee
  1. 2
      packages/nocodb/src/db/BaseModelSqlv2.ts

2
packages/nocodb/src/db/BaseModelSqlv2.ts

@ -2912,7 +2912,7 @@ class BaseModelSqlv2 {
// generate object with ai column and rest of the primary keys
const pkObj = {};
for (const pk of this.model.primaryKeys) {
const key = pk.id;
const key = pk.title;
if (ai && pk.id === ai.id) {
pkObj[key] = rowId;
} else if (ag && pk.id === ag.id) {

Loading…
Cancel
Save