From 1eda8ca100642d22111e1d5ec87b8eb3c9778c73 Mon Sep 17 00:00:00 2001 From: guyyoo Date: Fri, 25 Oct 2024 10:32:58 +0700 Subject: [PATCH] Fix connecting to self uuid in relation many to one --- dataFields/ABFieldConnectCore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dataFields/ABFieldConnectCore.js b/dataFields/ABFieldConnectCore.js index f5bbf36..af2d715 100644 --- a/dataFields/ABFieldConnectCore.js +++ b/dataFields/ABFieldConnectCore.js @@ -432,7 +432,7 @@ module.exports = class ABFieldConnectCore extends ABField { } else { colName = indexField ? indexField.columnName - : this.fieldLink.columnName; + : datasourceLink.PK(); } } // NO CUSTOM INDEX