Add additional of customFieldTableJoins to be calculated for filters separately to...
authoreileen <emcnaughton@wikimedia.org>
Fri, 22 Jan 2016 02:10:38 +0000 (15:10 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 22 Jan 2016 02:35:39 +0000 (15:35 +1300)
commit568a094693e4a3f0e943b176bde1d502a0dcb4b5
treef762b882de1453dacb2951b13d91f3dbbb446440
parentcec737d80ac484ff28c49c565243e15159f42481
Add additional of customFieldTableJoins to be calculated for filters separately to select queries

This means that if the report runs 2 queries, one to get the filtered list of subjects and a second to render the appropriate fields for them the first query (likely to be bigger) can avoid joining in tables that are only used for rendering results

Change-Id: Iee0078054abe8b5e63435e66f9215fc2fd9cd62f

Change-Id: Ic4e9ed36cf1a186aeeb1c44d59661e8971612022
CRM/Report/Form.php