dev/core#1551 regression fix
authoreileen <emcnaughton@wikimedia.org>
Fri, 14 Feb 2020 03:55:08 +0000 (16:55 +1300)
committereileen <emcnaughton@wikimedia.org>
Fri, 14 Feb 2020 03:55:26 +0000 (16:55 +1300)
commit58bcc9aeb958aeeada6bfb7dba69ae0f21e78068
treeb9cbc9d587911f46eedc0a31b201e981f9d58bea
parentfb3f69878193d485236c8627a5c69d8e95917187
dev/core#1551 regression fix

Now that mailing_id is defined as field metadata the form main metadata fn is trying to handle it, However
the form is casting it to the wrong array format -https://github.com/civicrm/civicrm-core/blob/86f20cc17dde028977130f84feaf3b1d760ca57d/CRM/Contact/Form/Search.php#L649

We could fix  this & rip it out of Mailing_BAO_Query::where but there is still a gap  in  that
there is no pseudoconstant recorded for the field so the qill doesn't work & there is a gap in
pre-parsing for the form 'IN'

Hence this seems like a good approach to remove the regression in the immediate term
CRM/Contact/BAO/Query.php