From 155ac1844e4370ce483f3fd68a134c3a05a987d2 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Wed, 13 Jul 2022 11:54:25 -0400 Subject: [PATCH] SearchKit - Fix adding deep joins This fixes a UI bug that was preventing joins past a depth of 2 to be added. --- ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js b/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js index be2b8a29cd..f9806ad712 100644 --- a/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js +++ b/ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js @@ -263,7 +263,7 @@ disabled: alias in existingJoins }; if (alias in existingJoins) { - opt.children = addEntityJoins(join.entity, (stack ? stack + '_' : '') + alias, baseEntity); + opt.children = addEntityJoins(join.entity, alias, baseEntity); } collection.push(opt); } -- 2.25.1