SearchKit - Expose 'is_current' field to the ON clause e.g. when joining related...
authorColeman Watts <coleman@civicrm.org>
Fri, 7 Oct 2022 16:37:12 +0000 (12:37 -0400)
committerColeman Watts <coleman@civicrm.org>
Fri, 7 Oct 2022 16:37:36 +0000 (12:37 -0400)
See dev/core#3878

ext/search_kit/ang/crmSearchAdmin/crmSearchAdmin.component.js

index 1f93d844741e3f5f5f409786105065e56fa58e95..7b88ee1db9aebf666665b01d520a5708ba516be2 100644 (file)
       };
 
       function getFieldsForJoin(joinEntity) {
-        return {results: ctrl.getAllFields(':name', ['Field'], null, joinEntity)};
+        return {results: ctrl.getAllFields(':name', ['Field', 'Extra'], null, joinEntity)};
       }
 
       // @return {function}