APIv4 - Prevent api adding default join conditions when it shouldn't
authorColeman Watts <coleman@civicrm.org>
Wed, 7 Apr 2021 20:16:25 +0000 (16:16 -0400)
committerColeman Watts <coleman@civicrm.org>
Wed, 7 Apr 2021 20:16:25 +0000 (16:16 -0400)
commit46bd5d9ceb1358bc332cdff0d2409dfbf511ae5f
tree27c8a575561fdaee1678b354bbeb97abf92bf506
parent73a5a9a9a1c82b1225f248410cb07bb87300bf81
APIv4 - Prevent api adding default join conditions when it shouldn't

When adding an explicit join, the api will search for a default condition unless
an fk field has been explicitly set. This fixes an error when the api thought
no fk field was present when it actually was.
Civi/Api4/Query/Api4SelectQuery.php