Fix the populateTempTable to be more direct
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Jun 2021 01:57:52 +0000 (13:57 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 8 Jun 2021 05:10:56 +0000 (17:10 +1200)
commit97399fa171fb9119bbf336bcbb5b9ddf7340a630
tree1ac1b36b990693f092826841a32ef00ea86dc849
parenta6f6f860c211f6f36566207308d3b4df67a1a3b7
Fix the populateTempTable to be more direct

It's currently using a round-about method to populate the table which goes through
apiv3 and the query object before winding up at the load function
which makes the same 3 calls now being called directly

Note the tests api_v3_ReportTemplateTest as well as the apiv4 tests
cover this function
CRM/Contact/BAO/GroupContactCache.php
tests/phpunit/api/v3/ReportTemplateTest.php
tests/phpunit/api/v4/Entity/SavedSearchTest.php