From: Coleman Watts Date: Wed, 13 Jul 2022 15:54:25 +0000 (-0400) Subject: SearchKit - Fix adding deep joins X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=155ac1844e4370ce483f3fd68a134c3a05a987d2;p=civicrm-core.git SearchKit - Fix adding deep joins This fixes a UI bug that was preventing joins past a depth of 2 to be added. --- 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); }