Improve metadata support for table civicrm_mailing_job in search
authoreileen <emcnaughton@wikimedia.org>
Mon, 28 Oct 2019 02:56:17 +0000 (15:56 +1300)
committereileen <emcnaughton@wikimedia.org>
Mon, 28 Oct 2019 03:02:03 +0000 (16:02 +1300)
commit0a71a7f78cd02a242b16916cce4d59533a5d637a
treec62afe571d2330dd07569cd3696a12f441308bbb
parenta39f849cc8f71ed732fbf7498f19a09e224e82dc
Improve metadata support for table civicrm_mailing_job in search

This makes the civicrm_mailing_job_start_date field available as
metadata and cleans up the code specifying how
civicrm_mailing_job gets joined in.

It turns out the code design has a pretty sensible methodology for ensuring that required
tables are added but unaware of this the tables
got configured all over the place in the where clause
functions.
CRM/Mailing/BAO/Query.php