Lybunt report - improve developer support for debugging this report
By using the createTemporaryTable to create our temporaray table we
help developers out by
a) adding the query to the developer tab
b) supporting CIVICRM_TEMP_FORCE_DURABLE
(see debugging section in dev docs)
This fix updates a function used by reports that have been marked with
groupFilterNotOptimised = FALSE
The reports with optimised group filtering construct a temp table
of contacts in the groups & use those to inner join / limit
the contacts in the report.
They are tested via a bunch of tests in api_v3_ReportTemplateTest such as
testReportsWithNonSmartGroupFilter
m
Change-Id: I1102b43a643760320a4b011c7a11146c8d4f380f