APIv4 - Fix entity name on custom groups in schemaMapper
authorColeman Watts <coleman@civicrm.org>
Fri, 29 May 2020 18:32:45 +0000 (14:32 -0400)
committerColeman Watts <coleman@civicrm.org>
Mon, 1 Jun 2020 05:18:10 +0000 (01:18 -0400)
commit6fe7bdee776d177c51b005503fffc1f89047ebe5
treecf5395c9590ac7d2106f9920a40cd0c5f9c5d0cc
parent5d1ad58ef51df12840b493951fe59b360bbbd36f
APIv4 - Fix entity name on custom groups in schemaMapper

Only multi-record groups are considered an api "entity", so for other groups the entity should be null.
Civi/Api4/Action/Entity/GetLinks.php
Civi/Api4/Query/Api4SelectQuery.php
Civi/Api4/Service/Schema/Joinable/CustomGroupJoinable.php
Civi/Api4/Service/Schema/SchemaMapBuilder.php